Question #733

What is the type of the object below?
reversed("hello")

The reversed() function returns an iterator. print(reversed("hello")) will not output olleh . (programiz.com/python-programming/methods/built-in/reversed)


Comment on Disqus:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: