Reversing Strings in Python (Overview)
When you’re using Python strings often in your code, you may face the need to work with them inreverse order. Python includes a few handy tools and techniques that can help you out in these situations. With them, you’ll be able to build reversed copies of existing strings quickly and efficiently.
Knowing about these tools and techniques for reversing strings in Python will help you improve your proficiency as a Python developer.
In this video course, you’ll learn how to:
- Quickly build reversed strings throughslicing
- Createreversed copies of existing strings using
reversed()and.join() - Useiteration to reverse existing strings manually
To make the most out of this course, you should know the basics ofstrings andfor andwhile loops.
00:00My name is Alexis, and I’ll be taking you through the course on reversingstrings with Python.Reversing strings is a fun way to train your Python skills and is a popularquestion asked during technical interviews.
00:12This course will cover several string reversal approaches. Specifically,you’ll learn how to reverse a string using slices and the index operator, reversestrings using thereversed() built-in function,and how to write your very own string reversal algorithm. Let’s get started.
Course Contents

