|
Class with str
|
newbie
dunder methods
classes
|
|
Complete a user class: properties and representation dunder methods
|
properties
classes
__repr__
string manipulation
dunder methods
f-strings
__str__
|
|
Create a multiplication table class of variable length
|
exception handling
numbers
dunder methods
classes
|
|
Keep state in a class + make its instance callable
|
dunder methods
classes
|
|
Thumbs up for operator overloading
|
exception handling
classes
emojis
dunder methods
operator overloading
|
|
Sortable dataclasses and enums
|
dataclasses
sorting
dunder methods
enum
|
|
Enrich a class with dunder methods
|
dunder methods
properties
functools
|
|
Write a context manager
|
operator overloading
context managers
dunder methods
with statement
|
|
Matrix multiplication / @ operator
|
operator overloading
__matmul__
dunder methods
|
|
Building a karma app - implement the user class
|
properties
classes
dunder methods
operator overloading
namedtuple
|
|
Subclass the list built-in
|
exception handling
properties
dunder methods
mean
inheritance
operator overloading
list
statistics
median
|
|
Ninja rankings
|
classes
bisect
heapq
tuples
dunder methods
dataclasses
|