go back  What to code next?

Bite Level Description & Tags
Bite 1. Sum n numbers Beginner level Write a function that can sum up numbers:It should receive …
default args None range sum
Bite 39. Calculate the total duration of a course Intermediate level In this Bite you read in a text file with …
datetime findall numbers timedelta
Bite 57. Create a simple calculator that receives command line arguments Intermediate level In this Bite you write a simple calculator that can …
argparse functools reduce
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 87. Convert Decimal to Roman Numerals Intermediate level Complete romanize that takes a decimal number and converts it …
numbers OrderedDict
Bite 94. Parse PyCon talk data from YouTube Advanced level PyCon2018 was awesome! But you clearly had to choose the …
list comprehensions max namedtuple
Bite 96. Build Unix' wc program in Python Beginner level In this Bite you will convert Unix' wc command into …
file processing tempfile Unix
Bite 98. Code your way out of a grid Advanced level Given a 2D grid of equal length x and y, …
looping namedtuple numbers tuple unpacking
Bite 107. Filter numbers with a list comprehension Intro level Complete the function below that receives a list of numbers …
list comprehensions modulo
Bite 117. Round a number even (a.k.a. banker's rounding) Beginner level Bankers Rounding is an algorithm for rounding quantities to integers, …
Decimal rounding
Bite 120. Write a numbers validation decorator Intermediate level Let's get some more practice with decorators ... in this …
decorators
Bite 121. Determine the strength of a password Advanced level In this Bite you evaluate the strength of a password. …
re string matching
Bite 127. Return the right ordinal suffix for a number Intermediate level In this Bite you complete a function that takes an …
dict modulo numbers string manipulation
Bite 134. Two Sums Advanced level Given a random list of numbers, your task is to …
index looping sorting sum
Bite 142. Exception Handling: Calculate the Winning Player Intermediate level Complete the two functions below: calculate_score takes a list of …
exception handling namedtuple numbers
Bite 152. Manipulate string decorator Advanced level Write a decorator called strip_range that replaces characters with dots. …
decorators kwargs list string manipulation
Bite 153. Round a sequence of numbers Beginner level It's time to get mathematical! In this Bite we ask …
list comprehensions math rounding
Bite 156. Make an index of story characters Intermediate level You know the index at the end of a book …
collections defaultdict enumerate sorting string matching
Bite 159. Create a simple calculator Intermediate level In this Bite you will create a simple calculator. It …
exception handling numbers operator
Bite 163. Which packages were upgraded? Intermediate level In this Bite you compare a list of packages (aka …
comparison dict numbers string manipulation
Bite 169. Simple length converter Beginner level Your task is to complete the convert() function. It's purpose …
exception handling numbers rounding
Bite 206. Calculate and evenly split the bill Intermediate level Three old friends Bob, Mary, and Alice meet at PyCon …
Decimal numbers rounding
Bite 208. Find the number pairs summing up N Beginner level In this Bite you complete find_number_pairs which receives a list …
itertools looping numbers
Bite 211. Write a retry decorator Advanced level Write a retry decorator that retries to execute the function …
decorators exception handling
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
We use Python 3.7