A

Admin • 832.70K Points
Coach

Q. What is the output of `list('abc')`?

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

Explanation by: Admin

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.