A

Admin • 832.70K Points
Coach

Q. Which function converts an iterable to a list?

  • (A) iterable()
  • (B) convert()
  • (C) list()
  • (D) to_list()
  • Correct Answer - Option(C)
  • Views: 24
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

`list()` can be used to convert tuples, sets, and other iterables to a list.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.