|
Complete a user class: properties and representation dunder methods
|
dunder methods
properties
classes
__str__
string manipulation
f-strings
__repr__
|
|
Keep a list sorted upon insert
|
classes
data structures
__str__
bisect
|
|
Define a score enum and customize it adding methods
|
enum
__str__
classmethod
|
|
Implement a color class with staticmethod
|
__str__
string module
__repr__
hex
staticmethod
|
|
Oop fun at the zoo
|
itertools
classes
__str__
classmethod
|