Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python loop

# for loop
>>> for i in range(5):
...  print(i)
1
2
3
4
>>> while True:
...  print("hello")
hello
hello
hello
hello
etc
Source by openclassrooms.com #
 
PREVIOUS NEXT
Tagged: #python #loop
ADD COMMENT
Topic
Name
5+9 =