Question #151

What it the output of the code snippet below?
print(float("\t\n12\r\n"))

When the the float() function casts a string to a float, it does remove string operators. (docs.python.org/3/library/functions.html#float)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: