While true :print("something) how to stop this loop In output VSCODE | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

While true :print("something) how to stop this loop In output VSCODE

how to stop this loop in output. I can't come out from this program, it runs continuously and when I run another program the same output is runs

2nd Dec 2021, 2:05 PM
Naveen K
1 Answer
0
you need to find a logic to break loop depending on your task completion or a condition met to to exit loop. ex: while true : print("something") break while true : print ("something") #... #statement #... if( condition) : break
2nd Dec 2021, 4:07 PM
Jayakrishna 🇮🇳