python-hard-way/Codecademy.md

622 B
Raw Blame History

Object-oriented

"The main goal of an object oriented language is to make code reusable we do this through the use of classes and objects. If we want to design a new type of car, we can start with what they all have in common: wheels, seats, a frame. Now that weve determined what cars have in common, we can more easily implement any type of car we want by starting from that basic blueprint."

https://discuss.codecademy.com/t/what-does-it-mean-that-python-is-an-object-oriented-language/297314

Errors

print("With mismatched quotes will cause a SyntaxError")

print("Without quotes will cause a NameError")