Python Basics Exercises: Strings and String Methods

Martin Breuss
Martin Breuss 48 Lessons 3h 22m basics python

In Python Basics: Strings and String Methods, you used strings for text data in Python. You also learned how to manipulate strings with string methods. For example, you changed strings from lowercase to uppercase, removed whitespace from the beginning or end of a string, and replaced parts of a string with different text.

In this video course, you’ll practice:

  • Manipulating strings with string methods
  • Working with user input
  • Dealing with strings of numbers
  • Formatting strings for printing

This video course is part of the Python Basics series, which accompanies Python Basics: A Practical Introduction to Python 3.

Note that you’ll be using IDLE to interact with Python throughout this course. If you’re just getting started, then you might want to check out Python Basics: Setting Up Python before diving into this course.

What’s Included:

Downloadable Resources:

Related Learning Paths:

About Martin Breuss

Martin is Real Python's Head of Content Strategy. With a background in education, he's worked as a coding mentor, code reviewer, curriculum developer, bootcamp instructor, and instructional designer.

» More about Martin

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Participant Comments

Avatar image for emru67

emru67

Thanks again for the support and the clear explanation. I do like to explore and I’m a bit more “advanced” then basic string manipulation, that was a review of things done. It’s important to understand the inner workings of a language to really know what’s going on. At Real Python you always encourage experimenting to gain knowledge and it’s one of the reasons why I joined.

Thanks all for your help

← Browse All Courses