Question #175

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

The float() option cannot cast a string surrounded by parentheses. (docs.python.org/3/library/functions.html#float)


Comment on Disqus:

Comment on Twitter:

Question difficulty: ๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต


Similar questions: