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 #70
int("2"+"6")+2
First, "2"+"6" make 26 . Then, the string 28 is cast to an integer and 2 is added it it: 28 . (stackoverflow.com/questions/48937457/how-do-order-of-oper...)
What is the output of the code snippet below?
— The Python Quiz (@thepythonquiz) October 12, 2020
int("2"+"6")+2
10
28
14#python #python3 #pythonprogramming #learnpython
Question difficulty: π΅π΅π΅π΅π΅
Similar questions: