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 softhunt.net #
 
PREVIOUS NEXT
Tagged: #python #loop
ADD COMMENT
Topic
Name
5+6 =