The Pythonic Way Of Doing Things (includes Code)
Too Long; Didn't Read
The most common data types in python are float (floating point), int (integer), str (string), bool (Boolean), list, and dict (dictionary) Unlike C or C++, Python will automatically determine which data type it will store data as. We can create our own data structures in python apart from the data structures provided by python. All you have to do is create a class and define your own methods in that class. Python generators are a simple way of creating iterators / iterable objects. Decorators are just a fancy name and way of passing a function as an argument to another function.