A

Admin • 833K Points
Coach

Q. What will list('abc') return?

  • (A) ['abc']
  • (B) ['a', 'b', 'c']
  • (C) ('a', 'b', 'c')
  • (D) {'a', 'b', 'c'}
  • Correct Answer - Option(B)
  • Views: 22
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

list() converts a string into a list of its characters.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.