Question #894

What is the type of the object below?
round(3.1415, 0)

When round() takes a float as a first argument, it always returns a float. Here, 3.0 will be returned. (docs.python.org/fr/3.7/library/functions.html?highlight=r...)


Comment on Disqus:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: