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 #167
print(float("\x30"))
The float() can cast Unicode code points to floats. Not a problem! (docs.python.org/3/library/functions.html#float)
What it the output of the code snippet below?
— The Python Quiz (@thepythonquiz) August 5, 2020
print(float("\x30"))
It will throw a ValueError error.
0.0
"\x30"
0#python #python3 #pythonprogramming #learnpython
Question difficulty: π΅π΅π΅π΅π΅
Similar questions: