Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

while loop in python

j = 0
while j < 3:
  print("hello") # Or whatever you want
  j += 1
#This runs the loop until reaches 3 and above
Source by coderwall.com #
 
PREVIOUS NEXT
Tagged: #loop #python
ADD COMMENT
Topic
Name
3+8 =