Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

what are while loops in python

myvariable = 10
while myvariable > 0:
  print(myvariable)
  myvariable -= 1
  
Source by codehs.com #
 
PREVIOUS NEXT
Tagged: #loops #python
ADD COMMENT
Topic
Name
2+3 =