+ 1

Someone gonna help me with the continue function in a while loop inside a python code.

19th Oct 2017, 10:38 AM
Michael Kedey
2 odpowiedzi
+ 2
print off number for i in range(0,10): if i%2!=0: continue else: echo i this will print the odd number if it is even number then it continue with next iteration
19th Oct 2017, 11:04 AM
Nanda Balakrishnan
0
continue means skip or jump it..
9th Dec 2018, 12:10 PM
Otumian Empire
Otumian Empire - avatar