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 #910
print(3*'7')
Watch the quotation marks! Here '7' is a string, not an integer. (pythoncentral.io/use-python-multiply-strings)
What is the output of the code snippet below?
— The Python Quiz (@thepythonquiz) August 12, 2021
print(3*'7')
21
777
3333333
37
π Comment the answer, like and retweet! #python
Question difficulty: π΅π΅π΅π΅π΅
Similar questions: