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
1 Réponse
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