Question #146

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

As the float() function, cannot cast empty strings to floats, it will throw a ValueError error. (docs.python.org/3/library/functions.html#float)


Comment on Disqus:

Comment on Twitter:

Question difficulty: šŸ”µšŸ”µšŸ”µšŸ”µšŸ”µ


Similar questions: