We use Python 3.6

What to code next?

Bite Description & Tags
Bite 2. regex Fun Learn Python regular expressions by writing the following 3 functions. ...
findall re regular expressions
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 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 26. Dictionary comprehensions are awesome A dictionary comprehension is like a list comprehension, but it ...
dictionary comprehensions
Bite 33. Transpose a data structure Sometimes you need to restructure a nested data structure. For ...
dict zip
Bite 37. rewrite a for loop using recursion Although you have to be careful using recursion it is ...
recursion reverse
Bite 38. Using ElementTree to parse XML In this Bite you will use ElementTree to parse some ...
movie data xml
Bite 41. Write a login_required decorator If you worked with Flask or Django you must have ...
decorators
Bite 44. License key generator Write a function called gen_key that creates a license key ...
list comprehensions secrets string module
Bite 46. You are a programmer! Code Fizz Buzz Here is a beginner Bite to write Fizz Buzz: Fizz ...
fizzbuzz
Bite 47. Write a new password field validator You know these Create a new password forms? They do ...
re string module
Bite 49. Scrape Packt's html with BeautifulSoup In this Bite you will parse Packt's free learning ebook ...
beautifulsoup namedtuple requests
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 52. Create a movie quote API with Flask In this Advanced Bite you will implement a full-blown CRUD ...
APIs Flask movie data
Bite 55. Get the latest game releases from Steam's RSS feed The Steam gaming platform has an RSS feed of their ...
feedparser namedtuple
Bite 57. Create a simple calculator that receives command line arguments In this Bite you write a simple calculator that can ...
argparse functools reduce
Bite 59. Create a multiplication table class of variable length Danny does not like rote learning (nor do we!). He ...
classes dunder methods exception handling numbers
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 62. Data structures matter - speed up your Python code In this Bite we provide you with 5 functions which ...
data structures performance
Bite 68. remove punctuation characters from a string Complete remove_punctuation which receives an input string and strips out ...
string manipulation string module
Bite 69. regex Fun - part II It's time for another Regex one! (here is part I)In ...
re regular expressions
Bite 70. Create your own iterator In this Bite you make an iterator called EggCreator by ...
iterators random
Bite 72. retrieve the right Ninja Belt based on score As you have probably seen on the new dashboard you ...
itertools OrderedDict
Bite 74. What day of the week were you born on? Complete weekday_of_birth_date which takes a date object of a birthday ...
calendar
Bite 75. Parse Unix cal to a weekday mapping In the last bite we return the weekday from a ...
re Unix zip
Bite 79. Parse a csv file and create a bar chart We played a bit with the Slack API today and ...
bar chart community csv requests
Bite 82. Define a Score Enum and customize it adding methods Starting Python 3.4 there is support for enumerations (not to ...
classmethod enum __str__
Bite 84. Flatten lists recursively (Droste Bite) Complete flatten that takes a list of lists (which can ...
list recursion
Bite 86. Create a RGB-to-Hex converter Designer Mary wants to convert her CSS from statements like ...
string formatting
Bite 87. Convert Decimal to Roman Numerals Complete romanize that takes a decimal number and converts it ...
numbers OrderedDict
Bite 89. Playing with lists and dicts In this Bite you are presented with a us_state_abbrev dict ...
data structures dict list
Bite 90. What South Park characters talk most? Did we already tell you we love the collections module? ...
Counter csv data analysis defaultdict requests
Bite 91. Matching multiple strings Catching up after #PyCon2018 ... in this Bite you do ...
all any re string matching
Bite 94. Parse PyCon talk data from YouTube PyCon2018 was awesome! But you clearly had to choose the ...
list comprehensions max namedtuple
Bite 102. Infinite loop, input, continue and break take this bite for free In this Bite we'll get you to take user input ...
break continue input mock.patch while
Bite 105. Slice and dice Take the block of text provided and strip off the ...
replace slicing split string module strip
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 108. Loop over a dict of namedtuples calculating a total score In this Bite you calculate the total amount of points ...
counting dict namedtuple
Bite 111. Use the ipinfo API to lookup IP country In this Bite you will use the requests library to ...
APIs json mock.patch requests
Bite 112. Social Media Username Validator In this Bite you parse social_platforms below into a dict ...
namedtuple range re regular expressions string manipulation string matching typing
Bite 114. Implement a Color class with classmethods As the new junior developer, you have been charged with ...
classmethod hex __repr__ __str__ string module
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 119. Xmas tree generator In this Bite you complete generate_xmas_tree that takes a rows ...
default args join range string formatting
Bite 121. Determine the strength of a password In this Bite you evaluate the strength of a password. ...
re string matching
Bite 122. Check if two words are anagrams An anagram is a word or phrase formed by rearranging ...
anagram string matching
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 127. return the right ordinal suffix for a number In this Bite you complete a function that takes an ...
dict modulo numbers string manipulation
Bite 129. Analyze Stock Data In this Bite we will answer some questions about stocks, ...
counting data analysis json requests sorting string manipulation
Bite 130. Analyze some basic Car Data In this exercise you will analyze some basic car data. ...
Counter data analysis list comprehensions set
Bite 131. Screen scraper This is the output from using screenFetch on my junky ...
dict index regular expressions slicing string manipulation
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 133. Convert an Amazon URL into an affiliation link Can you help PyBites automate their Amazon affiliation link creation?Complete ...
regular expressions string manipulation
Bite 137. Gourmets' Nightmare Many gourmets struggle to find the perfect pairing of wines ...
Counter intersection operator sorting
Bite 139. Calculate a coding streak in days In this Bite you are going to calculate the amount ...
datetime string manipulation timedelta
Bite 141. Primitive date format inferrer Complete the get_dates method given the following:a listing of date ...
classmethod datetime enum exception handling
Bite 145. record Breakers The data for this challenge comes from a subset of ...
csv data analysis pandas
Bite 148. Print Car Data Grouped by Manufacturer In this Bite you are presented with a list of ...
data structures itertools operator sorting