|Bite||Description & Tags|
|Bite 2. Regex Fun||
Learn Python regular expressions by writing the following 3 functions. ...
findall re regular expressions
|Bite 4. Top 10 PyBites tags||
Get the top 10 tags of PyBites. Our tests suppose ...
|Bite 17. Form teams from a group of friends||
Write a function called friends_teams that takes a list of ...
|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 28. Converting date strings to datetimes||
In this Bite you are provided with a list of ...
Counter datetime findall
|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 38. Using ElementTree to parse XML||
In this Bite you will use ElementTree to parse some ...
movie data xml
|Bite 39. Calculate the total duration of a course||
In this Bite you read in a text file with ...
datetime findall numbers timedelta
|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 64. Fix a truncating zip function||
Bert is in charge of organizing an event and got ...
|Bite 65. Get all valid dictionary words for a draw of letters||
This Bite focusses on the use of itertools. To that ...
|Bite 66. Calculate the running average of a sequence||
Write a function that takes a sequence of items and ...
|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 73. Organize a meeting between timezones (pytz)||
Help PyBites community friends find a reasonable common time to ...
|Bite 74. What day of the week were you born on?||
Complete weekday_of_birth_date which takes a date object of a birthday ...
|Bite 76. The singledispatch countdown challenge||
We are stoked and grateful to have Martin have you ...
decorators functools singledispatch
|Bite 78. Find programmers with common languages||
Similar as last Bite we do another comparison of sequences ...
set set operations
|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 91. Matching multiple strings||
Catching up after #PyCon2018 ... in this Bite you do ...
all any re string matching
|Bite 93. Rock-paper-scissors and generator's send||
Generators are cool right?! Did you know you can send ...
|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 113. Filter words with non-ascii characters||
In this Bite you extract words from a text that ...
all ascii ord unicode
|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 122. Check if two words are anagrams||
An anagram is a word or phrase formed by rearranging ...
anagram string matching
|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 136. Bloodtypes||
Check red blood cell compatibility between donor and recipient. For ...
enum exception handling multi type input
|Bite 137. Gourmets' Nightmare||
Many gourmets struggle to find the perfect pairing of wines ...
Counter intersection operator sorting
|Bite 140. PyBites First Pandas Bite||
This is a Pandas proof-of-concept Bite. We just added the ...
csv data analysis pandas
|Bite 142. Exception Handling: Calculate the Winning Player||
Complete the two functions below: calculate_score takes a list of ...
exception handling namedtuple numbers
|Bite 143. Look up a value in 3 dictionaries||
In this Bite you are presented with 3 dictionaries. Complete ...