for num in range( 5 ): print( num )
for num in range( 3 ): print( num )
for num in range( 2, 7 ): print( num )
for num in range( 4, 9 ): print( num )
for num in range( 1, 10, 2 ): print( num )
for num in range( 1, 11, 2 ): print( num )
for num in range( 1, 10, 3 ): print( num )
for num in range( 10, 0, -1 ): print( num )
for num in range( 10, 0, 3 ): print( num )