Bite 17. Form teams from a group of friends
|
|
Write a function called friends_teams that takes a list of …
3.10
itertools
|
|
Bite 65. Get all valid dictionary words for a draw of letters
|
|
This Bite focusses on the use of itertools. To that …
3.10
itertools
Scrabble
set
|
|
Bite 64. Fix a truncating zip function
|
|
Bert is in charge of organizing an event and got …
3.10
itertools
zip
|
|
Bite 63. Use an infinite iterator to simulate a traffic light
|
|
Complete traffic_light using itertools.cycle to return an infinite iterator to …
3.10
iterators
itertools
namedtuple
|
|
Bite 61. Create a variable size Paw Patrol card deck with random actions
|
|
The Paw Patrol card deck consists of 32 cards ranging …
3.10
itertools
namedtuple
random
string module
|
|
Bite 23. Find words that are > 95% similar
|
|
Given a list of tags of our blog find the …
3.10
difflib
file processing
findall
itertools
SequenceMatcher
|
|
Bite 72. Retrieve the right Ninja Belt based on score
|
|
As you have probably seen on the dashboard you can …
3.10
itertools
OrderedDict
|
|
Bite 99. Write an infinite sequence generator
|
|
Write a generator that produces the sequence [1, 'A', 2, …
3.10
generators
itertools
string module
zip
|
|
Bite 138. OOP fun at the Zoo
|
|
Finish the Animal class below adding one or more class …
3.10
classes
classmethod
itertools
__str__
|
|
Bite 148. Print Car Data Grouped by Manufacturer
|
|
In this Bite you are presented with a list of …
3.10
data structures
itertools
operator
sorting
|
|
Bite 171. Make a terminal spinner animation
|
|
In this Bite you will spice up your command line …
3.10
command line
itertools
stdout
sys
time
|
|
Bite 208. Find the number pairs summing up N
|
|
In this Bite you complete find_number_pairs which receives a list …
3.10
itertools
looping
numbers
|
|
Bite 222. Split an iterable in groups of size n
|
|
In this Bite you will complete the group function that …
3.10
generators
iterators
itertools
looping
|
|
Bite 261. Visit all PyCons in Europe
|
|
In Bite 256 you scraped data on 2019 PyCons. Now …
3.10
data analysis
dataclasses
itertools
math
|
|
Bite 296. Jagged list
|
|
Write a function that takes an irregular shaped list of …
3.10
iteration
itertools
list
|
|
Bite 66. Calculate the running average of a sequence
|
|
Write a function that takes a sequence of items and …
3.10
enumerate
itertools
mean
|
|
Bite 328. Longest coding streak
|
|
What is your longest streak of completed Bites? In Bite …
3.10
fromordinal
itertools
timezones
toordinal
|
|
Bite 330. Simple Math Equation Solver
|
|
Your task is to write a simple math equation solver. …
3.10
exception handling
itertools
list operations
math
operator
|
|
Bite 365. Rolling two dice for an advantage
|
|
Let's roll the dice! When playing a game where it …
3.10
itertools
math
mean
|
|
Bite 375. Find All Letter Combinations of a Phone Number
|
|
The typical phone keypad (pictured) features numbers (0 - 9), …
backtracking
itertools
strings
|
|
Bite 16. PyBites date generator
|
|
Write a generator that returns every 100th day counting forward from …
3.10
datetime
generators
|
|