A New Kind Of String Manipulation
We'll cover the following...
Python strings have many methods. You learned about some of those methods in the Strings chapter: lower()
, count()
, and format()
. Now I want to introduce you to a powerful but little-known string manipulation technique: the translate()
method.
Access this course and 1400+ top-rated courses and projects.