avoiding argument errors exercise - -shirt exercise - large shirts exercise - cities return values returning simple value making an argument optional returning dictionary using function with while loop exercise - city names exercise - album exercise - user albums passing list modifying list in function preventing function from modifying list exercise - magicians exercise - great magicians exercise - unchanged magicians passing an arbitrary number of arguments mixing positional and arbitrary arguments using arbitrary keyword arguments exercise - sandwiches exercise - user profile exercise - cars storing your functions in modules importing an entire module importing specific functions using as to give function an alias using as to give module an alias importing all functions in module styling functions exercise - printing models exercise - imports exercise - styling functions summary classes creating and using class creating the dog class making an instance from class exercise - restaurant exercise - three restaurants exercise - users working with classes and instances the car class setting default value for an attribute modifying attribute values exercise - number served exercise - login attempts xvi contents in detail