|
|
|
|
|
by macromagnon
1664 days ago
|
|
Is it that hard to remember a bash for loop? for i in $(seq 1 10)
do echo $i
done
Then you can just replace new lines with ; if writing a one liner. for i in $(seq 1 10); do echo $i; done
I guess it isn't as simple as python for i in range(10): print(i)
but it's pretty close aside from the variable binding. |
|