Question #174

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

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


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: