Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

while loop python

i = 1
while i<10:
 print("hello world")
 i+=1
#note the i++ syntax is not valid in python
 
PREVIOUS NEXT
Tagged: #loop #python
ADD COMMENT
Topic
Name
5+1 =