How yo create a if loop or switch case type of thing and while Loop inside a for loop | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How yo create a if loop or switch case type of thing and while Loop inside a for loop

I want a if else loop inside the for loop then run the while loop of collected data in the for loop

28th Jan 2019, 3:40 PM
Aishwarya Konakalla
Aishwarya Konakalla - avatar
1 Answer
+ 2
As I understand it, Python only has `for` and `while` loops, I'm not understanding what you mean "a if else loop inside the for loop ...". If you just link the code into your post above, I might just take a look though : )
1st Feb 2019, 10:25 AM
Ipang