Python - split()
📖 Read the lesson
Code Life
By Pierre Marsaa
What is split()?
split()
is a string method that breaks a string into a
list
of pieces. By default, it splits on spaces. Super useful when you have data stored as text!
↗️
Loading editor...
↶
▶️ Run
↷
Verify