Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pyton do while loop+

#there is no do while loop in python but you san simulate it
i = 1  
  
while True:  
    print(i)  
    i = i + 1  
    if(i > 5):  
        break  
Source by www.javatpoint.com #
 
PREVIOUS NEXT
Tagged: #pyton
ADD COMMENT
Topic
Name
5+8 =