Hone Your Python Skills!
Newbie Bites
Intro Bites
Regular Bites
Learning Paths
100 Days of Code
Pricing
Community
Login
☰
☰
PyBites Platform
Pybites Platform 2.0 is live 🎉 🐍
Join us now 📈
What to code next?
Bites of Py Exercises
Blog Code Challenges
Bite
Level
Description & Tags
Bite 11. Enrich a class with dunder methods
Let's enrich an Account class by adding dunder (aka special) …
3.10
dunder methods
functools
properties
Bite 20. Write a context manager
Write a context manager to roll back a transaction on …
3.10
context managers
dunder methods
operator overloading
with statement
Bite 59. Create a multiplication table class of variable length
Danny does not like rote learning (nor do we!). He …
3.10
classes
dunder methods
exception handling
numbers
Bite 34. Building a Karma app - implement the User class
This Bite is about implementing a User class that keeps …
3.10
classes
dunder methods
namedtuple
operator overloading
properties
Bite 31. Matrix multiplication / @ operator
Since 3.5 Python has a binary operator to be used …
3.10
dunder methods
__matmul__
operator overloading
Bite 71. Keep state in a class + make its instance callable
In this Bite you write a small class to keep …
3.10
classes
dunder methods
Bite 158. Subclass the list built-in
In this Bite you will complete IntList, a subclass of …
3.10
dunder methods
exception handling
inheritance
list
mean
median
operator overloading
properties
statistics
Bite 167. Complete a User class: properties and representation dunder methods
In this Bite you are presented with another class, User …
3.10
classes
dunder methods
f-strings
properties
__repr__
__str__
string manipulation
Bite 168. Ninja Rankings
PyBites is starting a campaign to try and pair up …
3.10
bisect
classes
dataclasses
dunder methods
heapq
tuples
Bite 230. Thumbs up for operator overloading
In this Bite we learn a bit of operator overloading. …
3.10
classes
dunder methods
emojis
exception handling
operator overloading
Bite 320. sortable dataclasses and enums
Write an enum called BiteLevel and a dataclass called Bite …
3.10
dataclasses
dunder methods
enum
sorting
Newbie Bite 38. Class With Str
This Bite continues where the previous class Bite left off. …
3.10
classes
dunder methods
newbie
PCC
Title
Summary
No matching Challenges found.