How to repeat this code for infinite? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
18th Oct 2020, 3:04 PM
#It's Tony Stark
#It's Tony Stark - avatar
3 Answers
+ 5
while True : Change to this but why are asking this..?
18th Oct 2020, 3:23 PM
Jayakrishna 🇮🇳
+ 4
I think you want to take infinite input from user .So you can use a loop for that: https://code.sololearn.com/chTaHlpxv7k0 It's better to use an ide of python for that.
18th Oct 2020, 3:31 PM
The future is now thanks to science
The future is now thanks to science - avatar
+ 1
Probably this is what you looking for https://code.sololearn.com/cfVXs1aoO8Cd/?ref=app If you really want it to be infinite, remove break.
18th Oct 2020, 11:59 PM
LastSecond959
LastSecond959 - avatar