go back  What to code next?

Bite Level Description & Tags
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 84. Flatten lists recursively (Droste Bite) Intermediate level Complete flatten that takes a list of lists (which can …
3.10 list recursion
Bite 80. Check equality of two lists Beginner level In this Bite we compare two list objects for equality, …
3.10 enum equality list
Bite 60. Create a deck of Uno cards Intermediate level In this Bite you will create a deck of Uno …
3.10 list list comprehensions namedtuple
Bite 135. Sort a list of book objects Intermediate level In this Bite you are going to look at a …
3.10 attrgetter datetime lambda list namedtuple operator sorting
Bite 152. Manipulate string decorator Advanced level Write a decorator called strip_range that replaces characters with dots. …
3.10 decorators kwargs list string manipulation
Bite 158. Subclass the list built-in Advanced level In this Bite you will complete IntList, a subclass of …
3.10 dunder methods exception handling inheritance list mean median operator overloading properties statistics
Newbie Bite 09. Lists Next up on our Python journey we're going to dive …
3.10 list newbie
Newbie Bite 10. Returning items by list index Lists are pretty awesome (both in Python and in real …
3.10 list newbie
Newbie Bite 11. Adding and Removing items from a list Now that we have our list, what if we decide …
3.10 list newbie
Newbie Bite 12. Dicts It's time to dive into the next data structure in …
3.10 dict list newbie
Bite 231. Where are the emojis? Beginner level In this Bite you are given a list of strings …
3.10 emojis list list comprehensions looping regular expressions
Bite 295. Join lists Beginner level Write a function that accepts a list of lists and …
3.10 iteration joining list
Bite 296. Jagged list Intermediate level Write a function that takes an irregular shaped list of …
3.10 iteration itertools list
Bite 5. Parse a list of names Beginner level In this Bite you will work with a list of …
3.10 freebie lambda list comprehensions min sorting
Bite 9. Palindromes Intermediate level Write a function to determine if a word or phrase …
3.10 algorithms list comprehensions max reverse
Bite 18. Find the most common word Intermediate level Write a function that returns the most common (non stop)word …
3.10 Counter data analysis list comprehensions
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 94. Parse PyCon talk data from YouTube Advanced level PyCon2018 was awesome! But you clearly had to choose the …
3.10 list comprehensions max namedtuple
Bite 50. Make a little PyBites search engine (feedparser) Advanced level Complete the program below to create a little search command …
3.10 any feedparser list comprehensions namedtuple search
Bite 44. License key generator Beginner level Write a function called gen_key that creates a license key …
3.10 list comprehensions secrets string module
Intro Bite 07. Filter numbers with a list comprehension Intro level Complete the function below that receives a list of numbers …
3.10 freebie list comprehensions modulo
Bite 118. List exercise: return first occurrence indices of duplicated words Intermediate level In this Bite you are presented with a list of …
3.10 counting list comprehensions set
Bite 124. Marvel data analysis Advanced level This is a simplified version of our Marvel Data Analysis we …
3.10 Counter csv data analysis list comprehensions rounding sum
Bite 125. Get the most recommended books Intermediate level The Tim Ferriss Show is full of wisdom and inspiration. …
3.10 beautifulsoup Counter default args list comprehensions requests
Bite 130. Analyze some basic Car Data Beginner level In this exercise you will analyze some basic car data. …
3.10 Counter data analysis list comprehensions set
Bite 132. Find the word with the most vowels Intermediate level Finish the get_word_max_vowels function below that takes a text string …
3.10 counting lambda list comprehensions string matching
Bite 153. Round a sequence of numbers Beginner level It's time to get mathematical! In this Bite we ask …
3.10 list comprehensions math rounding
Bite 174. String manipulation and metrics Advanced level This bite will get you to play around with creating …
3.10 Counter dataclasses list comprehensions properties string formatting string manipulation translate
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 246. Test print / standard output Beginner level In this Bite you test a function that prints to …
3.7 capfd capsys list comprehensions pytest stdout
Bite 271. Get all class names from a module Intermediate level In this Bite you will write a function to get …
3.10 inspect list comprehensions
Bite 364. Create Wikipedia Lorem Ipsum text Intermediate level Lorem Ipsum is text used to demonstrate layout in documents …
3.10 beautifulsoup list comprehensions random regular expressions requests
Newbie Bite 42. List Comprehension In this Bite, you will learn how to write list …
3.10 integer isdigit list comprehensions newbie numbers
Newbie Bite 48. String Module In this exercise, you'll practice writing another list comprehension (a …
3.10 list comprehensions newbie string manipulation string module
Bite 330. Simple Math Equation Solver Advanced level Your task is to write a simple math equation solver. …
3.10 exception handling itertools list operations math operator
Newbie Bite 41. String Manipulations In this Bite, you'll learn more about manipulating strings in …
3.10 lists lowercase newbie slicing split string manipulation strings strip
Newbie Bite 47. In Operator In this Bite, you'll learn how to use the in …
3.10 collections in operator lists newbie
Bite 1. Sum n numbers Beginner level Write a Python function that calculates the sum of a …
3.10 default args freebie None range sum
Bite 3. Word Values Intermediate level Find the dictionary word with the highest value using Scrabble rules. …
3.10 freebie max Scrabble sum
Bite 17. Form teams from a group of friends Intermediate level Write a function called friends_teams that takes a list of …
3.10 itertools
Bite 23. Find words that are > 95% similar Advanced level Given a list of tags of our blog find the …
3.10 difflib file processing findall itertools SequenceMatcher
Bite 27. Parse omdb movie json data Intermediate level Working with APIs is very common these days and lucky …
3.10 APIs glob json movie data
Bite 28. Converting date strings to datetimes Intermediate level In this Bite you are provided with a list of …
3.10 Counter datetime findall
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 31. Matrix multiplication / @ operator Advanced level Since 3.5 Python has a binary operator to be used …
3.10 dunder methods __matmul__ operator overloading
Bite 35. Having fun with heapq Intermediate level In this Bite you are provided with 3 data structures: …
3.10 datetime heapq
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 61. Create a variable size Paw Patrol card deck with random actions Advanced level The Paw Patrol card deck consists of 32 cards ranging …
3.10 itertools namedtuple random string module
Bite 63. Use an infinite iterator to simulate a traffic light Advanced level Complete traffic_light using itertools.cycle to return an infinite iterator to …
3.10 iterators itertools namedtuple
Bite 68. Remove punctuation characters from a string Beginner level Complete remove_punctuation which receives an input string and strips out …
3.10 string manipulation string module
Bite 81. Filter and order tweets by polarity values Intermediate level In this Bite we collected some random tweets and populated …
3.10 namedtuple TextBlob Twitter
Intro Bite 06. Strip out vowels and count the number of replacements Intro level In this Bite we'd like you to loop over the …
3.10 counting freebie regular expressions replace string manipulation Zen of Python
Bite 113. Filter words with non-ascii characters Intermediate level In this Bite you extract words from a text that …
3.10 all ascii ord unicode
Bite 116. list and filter files in a directory Intermediate level In this Bite you complete get_files that receives a dirname …
3.10 generators glob os module
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 134. Two Sums Advanced level Given a random list of numbers, your task is to …
3.10 index looping sorting sum
Bite 137. Gourmets' Nightmare Intermediate level Many gourmets struggle to find the perfect pairing of wines …
3.10 Counter intersection operator sorting
Bite 141. Primitive date format inferrer Intermediate level Complete the get_dates method given the following: a listing of …
3.10 classmethod datetime enum exception handling
Bite 142. Exception Handling: Calculate the Winning Player Intermediate level Complete the two functions below: calculate_score takes a list of …
3.10 exception handling namedtuple numbers
Bite 147. 100 WEEKDays of Code Date Range Intermediate level Doing a #100DaysOfCode can be challenging, and some of it …
3.10 datetime dateutil
Bite 148. Print Car Data Grouped by Manufacturer Intermediate level In this Bite you are presented with a list of …
3.10 data structures itertools operator sorting
Bite 149. Sorting words with constraint Beginner level Here is a list of words Jacob is trying to …
3.10 lambda sorting string manipulation
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 155. Split a string by spaces or quoted text Intermediate level Another text manipulation Bite. Code split_words_and_quoted_text that takes a text …
3.10 split string manipulation
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 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 165. Parse an /etc/passwd file output Beginner level The /etc/passwd file is a text-based database of information about …
3.10 split string manipulation tuple unpacking
Bite 180. Group names by country Beginner level In this Bite you are presented with a list of …
3.10 collections defaultdict groupby
Bite 181. Keep a list sorted upon insert Beginner level Complete the add method of the OrderedList class which takes …
3.10 bisect classes data structures __str__
Bite 189. Filter a list of names Beginner level Here is a Bite to practice the continue and break …
3.10 break continue generators looping
Bite 193. Most upvoted StackOverflow Python questions Intermediate level In this Bite you parse a copy of StackOverflow Python …
3.10 beautifulsoup requests sorting string matching web scraping
Bite 200. πŸ₯³ Minecraft Enchantable Items Advanced level My kids love Minecraft and they always want me to …
3.10 beautifulsoup web scraping
Bite 202. Analyze some Bite stats data - part II Intermediate level In this Bite you will analyze complexity levels of our …
3.10 csv data analysis sorting
Bite 209. Write a Sphinx docstring Beginner level Your team uses Sphinx and wants you to comply with …
3.10 data types docstring sphinx
Bite 211. Write a retry decorator Advanced level Write a retry decorator that retries executing the function it …
3.10 decorators exception handling
Bite 221. Parse best selling lists using the NY Times API Intermediate level In this Bite you are going to parse NY Times …
3.10 APIs json mock requests
Bite 222. Split an iterable in groups of size n Intermediate level In this Bite you will complete the group function that …
3.10 generators iterators itertools looping
Bite 241. Write tests for list_to_decimal Beginner level Our 4th test Bite. Michael made a calculator that will …
3.7 exception handling freebie pytest
Bite 255. Codon Usage Intermediate level The genetic code of all organisms uses a 3 base …
3.10 bioinformatics collections textwrap
Bite 256. Scrape PyCon events Intermediate level In this Bite, we want you to scrape PyCon 2019 …
3.10 beautifulsoup data analysis json namedtuple pycon requests web scraping
Bite 258. What the flux? Intermediate level One of the benefits of accounting is being able to …
3.10 finance math pandas
Bite 260. Let's play with Pandas DataFrames Advanced level To this point in the Pandas learning path we have …
3.10 dataframes pandas
Bite 265. Optimal fund raising Intermediate level Here is another classic algorithm problem wrapped in a Bite. …
3.10 algorithms looping math
Bite 272. Find common words Intermediate level Given two sentences that each contains words in case insensitive …
3.10 algorithms set operations string matching
Bite 275. Get the most common email domains Intermediate level In this Bite you will process a list of emails …
3.10 Counter requests set string parsing web scraping
Bite 277. Number of coin changes Advanced level Pat is going to apply for a cashier job in …
3.10 algorithms dynamic programming
Bite 278. Major and minor numbers Beginner level You are given a list of integers. Write code to …
3.10 collections max min numbers
Bite 281. Generating sales reports from Github data Advanced level In this bite you will learn how to process the …
3.8 data analysis pandas
Bite 285. Nested list Extraction Intermediate level Sometimes dealing with data can be a real struggle. Sometimes …
3.10 data structures string parsing
Bite 287. Sum indices Intermediate level Write a function that accepts a list of strings and …
3.10 looping sum
Bite 288. Smallest number Beginner level Write a function that accepts a list of digits and …
3.10 numbers
Bite 290. Class Rosters Data Conversion Intermediate level You have been given a comma-delimited .csv file containing class …
3.10 csv string parsing tuple unpacking
Bite 291. Find the fastest speech Intermediate level In this Bite you will parse an SRT (SubRip Subtitle …
3.10 datetime sorting string manipulation
Bite 293. N digit numbers Beginner level Write a function that accepts a list of numbers and converts …
3.10 numbers
Bite 300. πŸ₯³ PTO Calculator Advanced level We've all been affected by COVID-19 in one way or …
3.10 calendar datetime exception handling looping numbers string formatting
Bite 301. Exchange rates Intermediate level In this Bite you have to provide the currency exchange …
3.10 datetime dict sorting
Bite 303. Unique genes Advanced level You have received a list of DNA sequences for a …
3.8 bioinformatics biopython
Bite 307. SQLite3 introduction Intermediate level In this Bite, you are going to get some practice …
3.10 databases SQL sqlite3
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 309. A simple document class Intermediate level When we want to transform our data often, method chaining …
3.10 annotations classes method chaining properties string
Bite 310. Create file pairs Advanced level In this bite you will write a function that pairs …
3.10 bioinformatics files regular expressions
Bite 311. Cleaning text with pandas Intermediate level We recently published a blog post about how to approach …
3.8 data cleaning pandas TF-IDF
Bite 312. Scoring objects Intermediate level In this Bite you are going to score objects: Object …
3.10 builtins importlib keyword typing
Bite 326. Abstract Syntax Tree (AST) Printer Intermediate level In this Bite we familiarise with Abstract Syntax Trees (ASTs). …
3.10 AST
Bite 327. AST visitor Advanced level In Bite 312 we learned how to identify builtin functions, …
3.10 AST
Bite 332. Searching for an apartment Intermediate level Bill is looking for a new apartment with good view, …
3.10 algorithms
Bite 333. Metropolis–Hastings Algorithm Advanced level In statistics and statistical physics, the Metropolis–Hastings algorithm is a …
3.10 algorithms Markov chain Monte Carlo numpy statistics
Bite 336. FastAPI Hello World Beginner level Welcome to this FastAPI learning path. In the next 10 …
3.10 FastAPI freebie
Bite 348. Citation indexes Intermediate level Academic research innovates by publishing papers, i.e., documents collecting ideas …
3.10 builtins exception handling 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 351. Get spelling suggestions Intermediate level Complete the get_spelling_suggestions() function that takes a word and returns …
3.10 comparison namedtuple TextBlob tuple unpacking typing
Bite 352. Hash SQL statements Intermediate level In this Bite you are going to implement a simple …
3.10 hashlib SQL
Bite 367. Add Pi Day to the calendar Intermediate level Python has a brilliant but often overlooked module called calendar. …
3.10 calendar tuple unpacking
Bite 374. Group Anagrams Intermediate level As defined by the OED, an anagram is a word, …
array defaultdict strings
Bite 375. Find All Letter Combinations of a Phone Number Intermediate level The typical phone keypad (pictured) features numbers (0 - 9), …
backtracking itertools strings
Bite 378. Organizational Chart Advanced level Of all the types of questions you are likely to …
binary tree depth-first search graph traversal
Bite 379. Hedge Maze Advanced level Imagine you're trapped in a mysterious maze, much like the …
breadth-first graph traversal maze
PCC Title Summary
08 House Inventory Tracker A new week, more coding! In this challenge you will create an app to keep track of a house inventory.
15 Create a Simple Flask App Hi Pythonistas, a new week, a new 'bite' of Python coding! This week we’re going to get down and dirty with Python Flask. Flask is becoming a hot skill to have up your sleeve. We’re all in with learning it so figure it’s about time we had a challenge on it! Enjoy!
19 Post to Your Favorite API Hi Pythonistas, a new week, a new 'bite' of Python coding! This week part 2 of APIs: post to your favorite API. Enjoy
20 Object Oriented Programming Fun Hi Pythonistas, a new week, a new 'bite' of Python coding! This week we will let you experiment with Object Oriented Programming, an important skill and fundamental building block of (everthing-is-an-object) Python. Enjoy!
34 Build a Simple API With Django REST Framework Hi Pythonistas, a new week, a new 'bite' of Python programming! We love Django (#100DaysOfDjango) and Web APIs. Django REST framework combines the two. "Now is better than never." - let's jump right in and let's use this week's code challenge to build a simple API. In this article some ideas what we can build and links to resources to get started. Have fun and don't forget to share (PR) your work, we can learn a lot from each other. Enjoy!
44 Marvel Data Analysis (Alicante PyChallengeDay) Hi Pythonistas, this is a very special edition! Today, the 10th of November, we launch our first Live Code Challenge. We partnered up with Python Alicante and we will be hosting this code challenge with them at the University of Alicante. If you don't happen to live in Alicante but do want to code today 10am-13pm CET you are more than welcome to join this Gitter channel.
50 Use Celery to Offload an Expensive Task Hi Pythonistas, back-to-back with our Planet Python challenge 49 here is our special Easter Challenge #50 where you will use Celery to offload a simplified Easter ecard mailer app.
51 Analyse NBA Data with SQL/sqlite3 Hi Pythonistas, Welcome to Pybites Code Challenge 51! In this challenge we get you analysing NBA player data from a CSV file.
53 Query the Spotify API Hi Pythonistas, Welcome to Pybites Code Challenge 53! In this challenge we get you query the Spotify API and perform a set of tasks.
55 #100DaysOfCode Curriculum Generator Hi Pythonistas, Welcome to Pybites Code Challenge 55! In this challenge we're asking that you create your own #100DaysOfCode Curriculum Generator.
62 Women @ Pycon ES Hey Pythonistas, in this special live Alicante PyDay challenge you will analyze Pycon speaker data, do we see more women going on stage? Enjoy!