Fortran is still a thing
One interesting triviality. In modern Fortran you can do "list comprehension":<p><pre><code>    integer :: i
    integer, parameter :: n = 20
    integer, dimension(n) :: index = [(i, i = 1, n, 1)] ! list comp
</code></pre>
And this works just like range(1, n+1) in Python (array index starts from 1 by default in Fortran).<p>The list comprehension in Fortran can even be nested (because it is essentially a do-loop), according to this Rosetta Code example:
<a href="https://rosettacode.org/wiki/List_comprehensions#Fortran" rel="nofollow">https://rosettacode.org/wiki/List_comprehensions#Fortran</a>