Daily Python
Day 14Python~30 min
Strings
Methods, slicing, and text cleanup
Track progress0/15 days
What you'll learn
stripsplitjoinlowerreplaceslicing
- Clean and transform user text
- Build a simple text utility tool
Lesson & examples
Read the code, then the explanation — try changing values before the project.
Clean input
text = " Hello, World! "
print(text.strip().lower())