0
is it possible to write two values in one line in continue function in python's while loop??can anyone help me to solve this??
2 Answers
+ 1
thanks
0
Use "and", "or" keywords.
if i == 10 and i == 12:
// some code
or,
if i == 10 or i == 12:
// some code