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!
Question #211
print(1<2<3<4)
This will return True as Python support chained comparison. (geeksforgeeks.org/chaining-comparison-operators-python)
What is the output of the code snippet below?
— The Python Quiz (@thepythonquiz) January 28, 2021
print(1<2<3<4)
It will throw a SyntaxError error.
True
False
👇 Comment the answer, like and retweet! #python
Question difficulty: 🔵🔵🔵🔵🔵
Similar questions: