0
while True /
Can someone explain the answer because I don't understand correct option while True: choise = input() if choise != "stop": continue break Or while True: choise = input() if choise != "stop": break continue ????
2 ответов
+ 2
Julia In the first case, if choise is not equal to 'Stop', the 'continue' operator will return the loop to the beginning. And break will be triggered in case choise = 'Stop'. In the second case, an interrupt occurs if choise is not equal to 'Stop' and in this case 'continue' is not needed
+ 4
What was the question?
Remember to tag the relevant programming language.