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 #200
x = 1
y = 2
z = 3
if 1 in (x, y, z):
print(True)
else:
print(False)
It will be True! This syntax is a convenient way to check if at least one value across variables is an object. (geeksforgeeks.org/python-in-keyword)
Question difficulty: 🔵🔵🔵🔵🔵
Similar questions: