DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to restart loop python
i=2 while i < n: if something: do something i += 1 else: do something else i = 2 #restart the loop
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#restart
#loop
#python
ADD COMMENT
Topic
COMMENT
Name
3+2 =
Submit