Five Python Features You (Probably) Didn’t Know

Easy steps to writing more elegant, efficient code

James Briggs
Towards Data Science
5 min readJul 3, 2020

--

Photo by Ramón Salinero on Unsplash

Python has a lot to give. Every week, I see code written in a way that I did not think was possible. Some of these functionalities are brilliant, and I cannot understand how I ever lived without them — others are simply nice to know.

--

--