repl.it
@Pyth0n/

For-Schleife

Python 2.7

For i in range (a, b, c):

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
for i in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10):
  print (i)

for i in range (1, 11, 2):
  #2= jeder 2. Schritt
  print (i)
Fetching token
?