Python Split Exercises
Let’s check out some exercises that will help understand .split() method better.
Exercise 3-a: Splitting Up Words Using Split Method
Split the string based on space character: " ".
Exercise 3-b: Splitting up based on a specific character (:) with split method
Split the numbers.
Exercise 3-c: Splitting based on special character (;)
Using the split method, split the string with semi colon (;) first. Then, print only the last element.
Need More Exercises?
Check out Holy Python AI+ for amazing Python learning tools.
*Includes 14 more programming languages, inspirational tools and 1-on-1 consulting options.
*Includes 14 more programming languages, inspirational tools and 1-on-1 consulting options.

Umut Sagir
Finance & Data Science Professional,
Founder of HolyPython
Founder of HolyPython