alpharithms
Published in

alpharithms

Using Arithmetic Operators on Python Strings

Python lets developers use high-level syntax to perform robust string operations via arithmetic operators. There are some restrictions as well as some common pitfalls. Uncovering some of each will help avoid application errors and in some cases even lower memory use!

python arithmetic string operations by Alpharithms
Image: alpharithms

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Zack West

Zack West

Entrepreneur, programmer, designer, and lifelong learner. Can be found taking notes from Mother Nature when not hammering away at the keyboard.