We use Python 3.6

What to code next?

Bite Description & Tags
Bite 1. Sum n numbers take this bite for free Write a function that can sum up numbers:It should receive ...
default args None range sum
Bite 3. Word Values Calculate the dictionary word that would have the most value ...
max Scrabble sum
Bite 5. Parse a list of names take this bite for free In this bite you will work with a list of ...
lambda list comprehensions min sorting
Bite 9. Palindromes Write a function to determine if a word (or phrase) ...
list comprehensions max reverse
Bite 17. Form teams from a group of friends Write a function called friends_teams that takes a list of ...
itertools
Bite 18. Find the most common word Write a function that returns the most common (non stop)word ...
Counter data analysis list comprehensions
Bite 21. Query a nested data structure Given the provided cars dictionary:Get all JeepsGet the first car ...
data structures dictionary comprehensions list comprehensions sorting
Bite 23. Find words that are > 95% similar Given a list of tags of our blog find the ...
difflib file processing findall itertools SequenceMatcher
Bite 27. Parse omdb movie json data Working with APIs is very common these days and lucky ...
APIs glob json movie data
Bite 28. Converting date strings to datetimes In this Bite you are provided with a list of ...
Counter datetime findall
Bite 30. Movie data analysis In this Bite we are going to parse a csv ...
data analysis defaultdict mean movie data namedtuple sorting
Bite 31. Matrix multiplication / @ operator Since 3.5 Python has a binary operator to be used ...
dunder methods __matmul__
Bite 35. Having fun with heapq In this Bite you are provided with 3 data structures: ...
datetime heapq
Bite 36. Having fun with *args and **kwargs Write a function called get_profile that takes:a required name,a required ...
args function arguments kwargs
Bite 44. License key generator Write a function called gen_key that creates a license key ...
list comprehensions secrets string module
Bite 50. Make a little PyBites search engine (feedparser) Complete the program below to create a little search command ...
any feedparser list comprehensions namedtuple search
Bite 60. Create a deck of Uno cards In this Bite you will create a deck of Uno ...
list list comprehensions namedtuple
Bite 61. Create a variable size Paw Patrol card deck with random actions The Paw Patrol card deck consists of 32 cards ranging ...
itertools namedtuple random string module
Bite 63. Use an infinite iterator to simulate a traffic light Complete traffic_light using itertools.cycle to return an infinite iterator to ...
iterators itertools namedtuple
Bite 68. Remove punctuation characters from a string Complete remove_punctuation which receives an input string and strips out ...
string manipulation string module
Bite 71. Keep state in a class + make its instance callable In this Bite you write a small class to keep ...
classes dunder methods
Bite 80. Check equality of two lists In this Bite we compare two list objects for equality, ...
enum equality list
Bite 81. Filter and order tweets by polarity values In this Bite we collected some random tweets and populated ...
namedtuple TextBlob Twitter
Bite 84. Flatten lists recursively (Droste Bite) Complete flatten that takes a list of lists (which can ...
list recursion
Bite 89. Playing with lists and dicts In this Bite you are presented with a us_state_abbrev dict ...
data structures dict list
Bite 94. Parse PyCon talk data from YouTube PyCon2018 was awesome! But you clearly had to choose the ...
list comprehensions max namedtuple
Bite 106. Strip out vowels and count the number of replacements In this Bite we'd like you to loop over the ...
counting regular expressions replace string manipulation Zen of Python
Bite 107. Filter numbers with a list comprehension Complete the function below that receives a list of numbers ...
list comprehensions modulo
Bite 113. Filter words with non-ascii characters In this Bite you extract words from a text that ...
all ascii ord unicode
Bite 116. list and filter files in a directory In this Bite you complete get_files that receives a dirname ...
generators glob os module
Bite 118. list exercise: return first occurrence indices of duplicated words In this Bite you are presented with a list of ...
counting list comprehensions set
Bite 123. Find the user with most friends In this Bite you are presented with a users dict ...
defaultdict looping sorting tuples
Bite 124. Marvel data analysis Remember our Marvel Data Analysis / Alicante PyChallengeDay?We simplified this ...
Counter csv data analysis list comprehensions rounding sum
Bite 125. Get the most recommended books The Tim Ferriss Show is full of wisdom and inspiration. ...
beautifulsoup Counter default args list comprehensions requests
Bite 130. Analyze some basic Car Data In this exercise you will analyze some basic car data. ...
Counter data analysis list comprehensions set
Bite 132. Find the word with the most vowels Finish the get_word_max_vowels function below that takes a text string ...
counting lambda list comprehensions string matching
Bite 134. Two Sums Given a random list of numbers, your task is to ...
index looping sorting sum
Bite 135. Sort a list of book objects In this Bite you are going to look at a ...
attrgetter datetime lambda list namedtuple operator sorting
Bite 137. Gourmets' Nightmare Many gourmets struggle to find the perfect pairing of wines ...
Counter intersection operator sorting
Bite 141. Primitive date format inferrer Complete the get_dates method given the following:a listing of date ...
classmethod datetime enum exception handling
Bite 142. Exception Handling: Calculate the Winning Player Complete the two functions below: calculate_score takes a list of ...
exception handling namedtuple numbers
Bite 147. 100 WEEKDays of Code Date Range Doing a #100DaysOfCode can be challenging, and some of it ...
datetime dateutil
Bite 148. Print Car Data Grouped by Manufacturer In this Bite you are presented with a list of ...
data structures itertools operator sorting
Bite 149. Sorting words with constraint Here is a list of words Jacob is trying to ...
lambda sorting string manipulation