go back  What to code next?

Bite Level Description & Tags
Bite 12. Write a user validation function Intermediate level Create a function that takes a username and checks for …
classes exception handling namedtuple
Bite 24. ABC's and class inheritance Advanced level ABC's or Abstract Base classes are great to enforce a …
ABCs abstractmethod classes inheritance
Bite 25. No promo twice, keep state in a class Intermediate level In this bite a real world scenario: PyBites has a …
classes exception handling properties
Bite 34. Building a Karma app - implement the User class Advanced level This Bite is about implementing a User class that keeps …
classes dunder methods namedtuple operator overloading properties
Bite 42. Number Guessing Game Class Advanced level In this Bite you implement a Game class to perform …
classes games random
Bite 59. Create a multiplication table class of variable length Intermediate level Danny does not like rote learning (nor do we!). He …
classes dunder methods exception handling numbers
Bite 71. Keep state in a class + make its instance callable Intermediate level In this Bite you write a small class to keep …
classes dunder methods
Bite 85. Write an advanced property Advanced level After Bite 19. Write a simple property let's write a …
classes properties
Bite 95. Subclass the dict built-in Intermediate level In this Bite you will subclass the dict built-in to …
classes inheritance
Bite 138. OOP fun at the Zoo Intermediate level Finish the Animal class below adding one or more class …
classes classmethod itertools __str__
Bite 154. Write your own Data Class Intermediate level As you might have noticed we are now on Python …
data classes data structures hashable sorting type hinting
Bite 168. Ninja Rankings Advanced level PyBites is starting a campaign to try and pair up …
bisect classes data classes dunder methods heapq tuples
Bite 166. Complete a tox ini file parser class Intermediate level The INI file format is an informal standard for configuration …
classes configparser properties string matching string parsing tox
Bite 167. Complete a User class: properties and representation dunder methods Beginner level In this Bite you are presented with another class, User …
classes dunder methods f-strings properties __repr__ __str__ string manipulation
Bite 174. String manipulation and metrics Advanced level This bite will get you to play around with creating …
Counter data classes list comprehensions properties string formatting string manipulation translate
Bite 181. Keep a list sorted upon insert Beginner level Complete the add method of the OrderedList class which takes …
bisect classes data structures __str__
Bite 187. Actor/actress age at movie release Intermediate level Ever wondered how old an actor/actress was in a particular …
data classes dateutil f-strings
Bite 196. Create a JS-like dict object Advanced level In this Bite we challenge you to make a dict-like …
classes dict inheritance javascript
Bite 199. Multiple inheritance (__mro__) Intermediate level Implement the following class structure: print(Child.__mro__): (<class '__main__.Child'>, <class '__main__.Father'>, …
classes inheritance __mro__ multiple inheritance
Bite 200. 🥳 Minecraft Enchantable Items Advanced level My kids love Minecraft and they always want me to …
beautifulsoup web scraping
Bite 203. Type hinting practice Intermediate level It's time for some type hinting! For this bite, you …
classes data classes type hinting
Bite 207. Cached property decorator Advanced level Given the sample class Planet, computing the mass attribute of …
caching classes decorators properties
Bite 220. Analysing @pythonbytes RSS feed Advanced level Another feedparser exercise! In this Bite we're going to analyze …
classes Counter feedparser max min namedtuple regular expressions string matching type hinting
Bite 229. Scrape best programming books Advanced level For this bite, you are going to scrape the books …
beautifulsoup books classes data cleaning data wrangling sorting web scraping
Bite 230. Thumbs up for operator overloading Intermediate level In this Bite we learn a bit of operator overloading. …
classes dunder methods emojis exception handling operator overloading
Bite 240. Write tests for an Account class Advanced level In our third Test Bite you will write tests for …
Test Bite
We use Python 3.7