πŸ“Š Python
Q. What does `split()` do in Python?
  • (A) Splits string into a list
  • (B) Joins list into a string
  • (C) Removes spaces
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (A) Splits string into a list

Explanation: `split()` divides a string into a list of substrings.

Explanation by: Mr. Dubey
`split()` divides a string into a list of substrings.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
53
Total Visits
πŸ“½οΈ
10 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
87%
Success Rate