Pybites Logo

Advanced Bite Exercises

The bread and butter of the Pybites Platform, these Regular Bite Exercises will keep you challenged for quite some time.

Don't be disheartened if you get stuck. These are real world exercises that are designed to push you. If you find yourself absolutely stuck, feel free to post in our Community and ask for help.

Level Name Tags
A Regex fun re findall regular expressions
A Enrich a class with dunder methods dunder methods properties functools
A Write a context manager operator overloading context managers dunder methods with statement
A Find words that are > 95% similar file processing findall difflib SequenceMatcher itertools
A Abc's and class inheritance abstractmethod ABCs classes inheritance
A Matrix multiplication / @ operator operator overloading __matmul__ dunder methods
A Building a karma app - implement the user class properties classes dunder methods operator overloading namedtuple
A Write a binary search algorithm algorithms binary search
A Number guessing game class random games classes
A Make a little pybites search engine (feedparser) list comprehensions feedparser any search namedtuple
A Convert text into multiple columns string manipulation
A Using argparse to interface with a grocery cart argparse
A Create a variable size paw patrol card deck with random actions itertools random string module namedtuple
A Use an infinite iterator to simulate a traffic light iterators itertools namedtuple
A Regex fun - part ii re regular expressions
A Parse unix cal to a weekday mapping re Unix zip
A The singledispatch countdown challenge singledispatch decorators functools
A Write a score property properties classes
A Write a performance monitoring context manager context managers Counter
A Rock-paper-scissors and generator's send random games coroutines
A Parse pycon talk data from youtube list comprehensions namedtuple max
A Code your way out of a grid numbers looping tuple unpacking namedtuple
A Social media username validator typing re regular expressions string manipulation range string matching namedtuple
A Determine the strength of a password string matching re
A Marvel data analysis sum rounding data analysis Counter list comprehensions csv
A The emoji (unicode) bite unicode emojis sys
A Screen scraper regular expressions string manipulation index dict slicing
A Two sums index sum sorting looping
A Calculate a coding streak in days datetime string manipulation timedelta
A Record breakers data analysis csv pandas
A Manipulate string decorator kwargs string manipulation decorators list
A Subclass the list built-in exception handling properties dunder methods mean inheritance operator overloading list statistics median
A 15-way rock paper scissors exception handling games csv dict
A Cli tool: html link converter (stdin to stdout) data wrangling exception handling html stdin string formatting string manipulation sys
A Ninja rankings classes bisect heapq tuples dunder methods dataclasses
A String manipulation and metrics properties string formatting translate string manipulation Counter list comprehensions dataclasses
A Analyze mcdonald's food data data analysis pandas
A Make a terminal spinner animation stdout itertools command line time sys
A Use pandas to find most common genres in a movie excel sheet data cleaning excel groupby pandas movie data
A Strip comments from python code regular expressions string parsing comments
A Analyze sales data with pandas data analysis pandas groupby
A Create a js-like dict object javascript classes dict inheritance
A Calculate my mac's longest uptime data wrangling datetime string parsing dateutil
A 🥳 minecraft enchantable items beautifulsoup web scraping
A Pomodoro with asyncio pomodoro asyncio
A Cached property decorator caching decorators properties classes
A Write a retry decorator exception handling decorators
A Code a translation fixer regular expressions
A Parse an email header regular expressions
A Analysing @pythonbytes rss feed regular expressions classes max min Counter string matching feedparser type hinting namedtuple
A Get sentences from a text data wrangling string manipulation regular expressions
A Scrape best programming books data wrangling classes beautifulsoup data cleaning books web scraping sorting
A Get the dates ninja belts were earned looping datetime pandas json sorting
A Write tests for an account class pytest classes
A Zodiacal data parsing datetime pytest fixtures
A Test a number guessing game exception handling classes games mock.patch pytest
A Test a movie db class classes fixtures SQL sqlite3 movie data pytest
A Pybites url shortener string module string manipulation type hinting dict encode decode
A Let's play with pandas dataframes dataframes pandas
A Composition, inheritance, abstract base class, what? typing ABCs abstractmethod beautifulsoup string formatting composition urllib inheritance web scraping dataclasses namedtuple
A Taxable income calculator typing finance properties classes dataclasses namedtuple
A Number transformers numbers algorithms
A Shortest path (graph bite) graph computer science algorithms
A Get father's days by date and country string manipulation string parsing dateutil
A Number of coin changes dynamic programming algorithms
A Regular expression lookahead/lookbehind regular expressions lookahead lookbehind
A Generating sales reports from github data data analysis pandas
A Evaluate a bridge hand exception handling properties classes looping sorting enum
A Scoring matrices bioinformatics zip enumerate looping numbers
A Bowling score looping numbers games
A Rename keys iteration data cleaning dict
A 🥳 pto calculator exception handling string formatting looping datetime calendar numbers
A Unique genes bioinformatics biopython
A Create file pairs bioinformatics regular expressions files
A Magic bytes file processing exception handling images bytes string parsing csv
A Ast visitor AST
A Longest coding streak fromordinal itertools toordinal timezones
A Convert dict keys to snake case string manipulation recursion algorithms
A Simple math equation solver exception handling itertools list operations operator math
A Convolution in neural networks deep learning numpy
A Metropolis–hastings algorithm statistics algorithms numpy Markov chain Monte Carlo
A Fastapi authentication with jwt (json web tokens) FastAPI
A Learn to handle cron schedule expressions exception handling iteration datetime crontab dataclasses
A Art thief memoization graph recursion
A Organizational chart binary tree depth-first search graph traversal
A Hedge maze graph traversal maze breadth-first