A

Admin • 828.70K Points
Coach

Q. Which method is used to split a string into a list?

  • (A) split()
  • (B) divide()
  • (C) partition()
  • (D) separate()
  • Correct Answer - Option(A)
  • Views: 6
  • Filed under category Python
  • Hashtags:

Explanation by: Admin
The split() method divides a string into a list based on a delimiter.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.