The quiz where the difficulty automagically adapts to the player's Python knowledge
This is a question page. You can use this page to bookmark a question. Start a new quiz!
running = True while running: print(1) running = False continue print(2)
Every time the continue keyword is reached within the while loop, the execution jumps to the next iteration of the loop. print(2) is never reached. (tutorialspoint.com/python/python_continue_statement.htm)
What is the output of the code snippet below?— The Python Quiz (@thepythonquiz) June 21, 2021
running = True
running = False
It will throw a SyntaxError exception.
👇 Comment the answer, like and retweet! #python
Question difficulty: 🔵🔵🔵🔵🔵