Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python while loop

i = 1
while i<=4:
    print(i)
    i=i+1
print("Done")
i= 1
while i<=5:
    print("@"*i)
    i=i+1
print("Done")
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #python #loop
ADD COMMENT
Topic
Name
8+1 =