Pybites Logo

Free Bite Exercises

These Bites are free to solve — no subscription needed. Great for trying out the platform or running a meetup leaderboard where everyone competes on the same exercises.

Level Name Tags
Newbie Assigning objects newbie variables
Newbie Basic data types newbie data types
Newbie Basic printing newbie print
Intro F-strings and a simple if/else f-strings if/else
Intro Infinite loop, input, continue and break while break continue input mock.patch
Intro Loop through a dictionary and pluralise a word looping dict
Intro Split and join split join
Intro Slice and dice string module split replace slicing
Intro Strip out vowels and count the number of replacements regular expressions string manipulation replace counting Zen of Python
Intro Filter numbers with a list comprehension modulo list comprehensions
Intro Loop over a dict of namedtuples calculating a total score counting dict namedtuple
Intro Workout dictionary lookups exception handling string manipulation dict format ternary
Intro Type conversion and exception handling exception handling raise type casting
Beginner Sum n numbers sum None default args range
Beginner Parse a list of names lambda min list comprehensions sorting
Beginner Write tests for fibonacci fibonacci pytest
Beginner Fastapi hello world FastAPI
Beginner A little detour: pydantic Pydantic FastAPI
Beginner Uppercase Vowels loops string manipulation strings Hacktoberfest
Intermediate Word values sum Scrabble max
Intermediate Movie data analysis data analysis mean defaultdict movie data sorting namedtuple
Intermediate Create food objects FastAPI
Intermediate Retrieve food objects FastAPI
Intermediate Update and delete food objects FastAPI
Intermediate Pydantic part ii Pydantic FastAPI
Intermediate Food logging crud FastAPI
Intermediate Fastapi exception handling FastAPI
Intermediate Return an html response FastAPI
Advanced Regex fun re findall regular expressions
Advanced Fastapi authentication with jwt (json web tokens) FastAPI