Job category:Software Engineering

Manipulating Strings in Python

Text shows up everywhere in real programs: names, messages, files, and user input. You will pinpoint characters by position, carve out substrings with slicing, clean and reshape text using built-in methods, and search, split, and join strings to pull out exactly the pieces you need.
Python
4 lessons
18 practices
1 hour
Badge for General Programming and Algorithms,

Course details

Python String Indexing
Print Product Code Characters by Index
Reach the Last Character Two Ways
Find the Middle of the Code
Build a Short Code From Ends

Turn screen time into skills time

Practice anytime, anywhere with our mobile app.
Sign up

Join the 1M+ learners on CodeSignal

Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal