go back  What to code next?

Bite Level Description & Tags
Bite 90. What South Park characters talk most? Intermediate level Did we already tell you we love the collections module? …
3.10 Counter csv data analysis defaultdict requests
Bite 30. Movie data analysis Intermediate level In this Bite we are going to parse a csv …
3.10 data analysis defaultdict freebie mean movie data namedtuple sorting
Bite 97. BeautifulSoup II - scrape US holidays Intermediate level In this Bite we use BeautifulSoup to scrape US holidays …
3.10 beautifulsoup defaultdict dict
Bite 123. Find the user with most friends Intermediate level In this Bite you are presented with a users dict …
3.10 defaultdict looping sorting tuples
Bite 156. Make an index of story characters Intermediate level You know the index at the end of a book …
3.10 collections defaultdict enumerate sorting string matching
Bite 180. Group names by country Beginner level In this Bite you are presented with a list of …
3.10 collections defaultdict groupby
Bite 190. Parse income distribution from Latin America XML Intermediate level In this Bite you are going to parse some Latin …
3.10 data analysis defaultdict xml
Bite 374. Group Anagrams Intermediate level As defined by the OED, an anagram is a word, …
array defaultdict strings
Bite 13. Convert dict to namedtuple/json Intermediate level Write a function to convert the given blog dict to …
3.10 dict json namedtuple
Bite 89. Playing with lists and dicts Intermediate level In this Bite you are presented with a us_state_abbrev dict …
3.10 data structures dict list
Bite 33. Transpose a data structure Intermediate level Sometimes you need to restructure a nested data structure. For …
3.10 dict zip
Intro Bite 03. Loop through a dictionary and pluralise a word Intro level You're given a dictionary of people and the number of …
3.10 dict freebie looping
Intro Bite 08. Loop over a dict of namedtuples calculating a total score Intro level In this Bite you calculate the total amount of points …
3.10 counting dict freebie namedtuple
Intro Bite 09. Workout dictionary lookups Intro level In this Bite you learn how to lookup values from …
3.10 dict exception handling format freebie string manipulation ternary
Bite 127. Return the right ordinal suffix for a number Intermediate level In this Bite you complete a function that takes an …
3.10 dict modulo numbers string manipulation
Bite 131. Screen scraper Advanced level This is the output from using screenFetch on my junky …
3.10 dict index regular expressions slicing string manipulation
Bite 143. Look up a value in 3 dictionaries Beginner level In this Bite you are presented with 3 dictionaries. Complete …
3.10 collections dict
Bite 151. Contemporary Composers Intermediate level You are given a list of operas and a list …
3.10 datetime dict exception handling generators namedtuple
Bite 160. 15-way Rock Paper Scissors Advanced level In this Bite you are going to write a 15-way …
3.10 csv dict exception handling games
Bite 163. Which packages were upgraded? Intermediate level In this Bite you compare a list of packages (aka …
3.10 comparison dict numbers string manipulation
Bite 182. Parse a bunch of quotes from HTML Intermediate level Let's get some inspiration. Below you find the simplified HTML …
3.10 dict regular expressions string manipulation string parsing
Bite 196. Create a JS-like dict object Advanced level In this Bite we challenge you to make a dict-like …
3.10 classes dict inheritance javascript
Newbie Bite 12. Dicts It's time to dive into the next data structure in …
3.10 dict list newbie
Newbie Bite 23. Looping through a dict While we've explained how for loops work, it's worth diving …
3.10 dict newbie
Bite 223. Unix file permissions Intermediate level Each file and directory in Unix has its permissions broken …
3.10 dict list comprehensions string manipulation
Bite 250. PyBites URL Shortener Advanced level URL shortening is a technique on the World Wide Web …
3.10 decode dict encode string manipulation string module type hinting
Bite 257. Extract users dict from a multiline string Beginner level A quick Bite to practice some string parsing extracting a …
3.10 dict string parsing
Bite 297. Rename keys Advanced level The Data Processing Department was writing a script to import …
3.10 data cleaning dict iteration
Bite 301. Exchange rates Intermediate level In this Bite you have to provide the currency exchange …
3.10 datetime dict sorting
Bite 316. To rent or to stream movies? Intermediate level You're on a movie budget so you want to evaluate …
3.10 collections datetime dict typing
Bite 349. Writing better Spanish Intermediate level Bob is a lazy typer and often forgets to accentuate …
3.10 ascii dict unicode unicodedata
Bite 371. Python3.9 - Dictionary Merge Beginner level Python 3.9 brought an exciting enhancement to the dict built-in …
dict Python3.9 union
Bite 21. Query a nested data structure Beginner level Given the provided cars dictionary: Get all Jeeps Get the …
3.10 data structures dictionary comprehensions list comprehensions sorting
Bite 26. Dictionary comprehensions are awesome Beginner level A dictionary comprehension is like a list comprehension, but it …
3.10 dictionary comprehensions
Bite 87. Convert Decimal to Roman Numerals Intermediate level Complete romanize that takes a decimal number and converts it …
3.10 numbers OrderedDict
Bite 72. Retrieve the right Ninja Belt based on score Intermediate level As you have probably seen on the dashboard you can …
3.10 itertools OrderedDict
Bite 36. Having fun with *args and **kwargs Intermediate level Write a function called get_profile that takes: a required name, …
3.10 args function arguments kwargs
Bite 65. Get all valid dictionary words for a draw of letters Intermediate level This Bite focusses on the use of itertools. To that …
3.10 itertools Scrabble set
Bite 78. Find programmers with common languages Intermediate level Similar as last Bite we do another comparison of sequences …
3.10 set set operations
Bite 95. Subclass the dict built-in Intermediate level In this Bite you will subclass the dict built-in to …
3.10 classes inheritance
Bite 112. Social Media Username Validator Advanced level In this Bite you parse social_platforms below into a dict …
3.10 namedtuple range re regular expressions string manipulation string matching typing
Newbie Bite 13. dict data retrieval methods Excellent! We know what a dict is and what it …
3.10 newbie
Bite 276. Get Father's days by date and country Advanced level Happy belated Father's day (unless you are in Australia or …
3.10 dateutil string manipulation string parsing
Bite 308. Calculate the median from a dictionary Intermediate level You are in charge of a program that continuously collects …
3.10 median sorting sum
Bite 329. Convert dict keys to snake case Advanced level In this Bite we will take a (nested) dict and …
3.10 algorithms recursion string manipulation