для петли питона терминала

# I type in for i in range(10): print(i), press enter, and 
# terminal shows ..., waiting for further statements.
In [1]: [i for i in range(3)]
Out[1]: [0, 1, 2]
bilalahmed_dev