|Bite||Description & Tags|
|Bite 13. Convert dict to namedtuple/json||
Write a function to convert the given blog dict to ...
dict json namedtuple
|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 26. dictionary comprehensions are awesome||
A dictionary comprehension is like a list comprehension, but it ...
|Bite 30. Movie data analysis||
In this Bite we are going to parse a csv ...
data analysis defaultdict mean movie data namedtuple sorting
|Bite 33. Transpose a data structure||
Sometimes you need to restructure a nested data structure. For ...
|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 65. Get all valid dictionary words for a draw of letters||
This Bite focusses on the use of itertools. To that ...
|Bite 72. Retrieve the right Ninja Belt based on score||
As you have probably seen on the new dashboard you ...
|Bite 78. Find programmers with common languages||
Similar as last Bite we do another comparison of sequences ...
set set operations
|Bite 87. Convert Decimal to Roman Numerals||
Complete romanize that takes a decimal number and converts it ...
|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 95. Subclass the dict built-in||
In this Bite you will subclass the dict built-in to ...
|Bite 97. BeautifulSoup II - scrape US bank holidays||
In this Bite we use BeautifulSoup to scrape US bank ...
beautifulsoup defaultdict dict
|Bite 103. Loop through a dictionary and pluralise a word||
You're given a dictionary of people and the number of ...
|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 109. Workout dict lookups and raising an exception||
In this Bite you learn how to lookup values from ...
dict exception handling format pytest string manipulation ternary
|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 123. Find the user with most friends||
In this Bite you are presented with a users dict ...
defaultdict looping sorting tuples
|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 131. Screen scraper||
This is the output from using screenFetch on my junky ...
dict index regular expressions slicing string manipulation
|Bite 143. Look up a value in 3 dictionaries||
In this Bite you are presented with 3 dictionaries. Complete ...
|Bite 151. Contemporary Composers||
You are given a list of operas and a list ...
datetime dict exception handling generators namedtuple
|Bite 156. Make an index of story characters||
You know the index at the end of a book ...
collections defaultdict enumerate sorting string matching
|Bite 160. 15-way Rock Paper Scissors||
In this Bite you are going to write a 15-way ...
csv dict exception handling games
|Bite 163. Which packages were upgraded?||
In this Bite you compare a list of packages (aka ...
comparison dict numbers string manipulation