Question #168

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

In Python, "NULL" is treated as any other string. As such, passing it as an argument to float() will throw a ValueError error. (docs.python.org/3/library/functions.html#float)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: