Question #172

What it the output of the code snippet below?
print(float("1.2.3"))

The float() option cannot cast a string with multiple dots to a string. (docs.python.org/3/library/functions.html#float)


Comment on Disqus:

Question difficulty: πŸ”΅πŸ”΅πŸ”΅πŸ”΅πŸ”΅


Similar questions: