Python 3 supports object-oriented programming (OOP) concepts like classes, objects, inheritance, polymorphism, and encapsulation. Here's an example:
Her code looked like a ransom note written in crayon. Loops were infinite, lists were mangled, and she was still using + to concatenate strings because she didn’t know f-strings existed. She felt like a cartographer trying to navigate a starship. the modern python 3 bootcamp