Hone Your Python Skills!
Newbie Bites
Intro Bites
Regular Bites
Learning Paths
Pricing
Login
☰
☰
PyBites Platform
What to code next?
Bites of Py Exercises
Blog Code Challenges
Bite
Level
Description & Tags
Bite 17. Form teams from a group of friends
Write a function called friends_teams that takes a list of …
itertools
Bite 65. Get all valid dictionary words for a draw of letters
This Bite focusses on the use of itertools. To that …
itertools
Scrabble
set
Bite 64. Fix a truncating zip function
Bert is in charge of organizing an event and got …
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 …
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 …
itertools
namedtuple
random
string module
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 72. Retrieve the right Ninja Belt based on score
As you have probably seen on the dashboard you can …
itertools
OrderedDict
Bite 99. Write an infinite sequence generator
Write a generator that produces the sequence [1, 'A', 2, …
generators
itertools
string module
zip
Bite 138. OOP fun at the Zoo
Finish the Animal class below adding one or more class …
classes
classmethod
itertools
__str__
Bite 148. Print Car Data Grouped by Manufacturer
In this Bite you are presented with a list of …
data structures
itertools
operator
sorting
Bite 171. Make a terminal spinner animation
In this Bite you will spice up your command line …
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 …
itertools
looping
numbers
Bite 222. Split an iterable in groups of size n
In this Bite you will complete the group function that …
generators
iterators
itertools
looping
Bite 261. Visit all PyCons in Europe
In Bite 256 you scraped data on 2019 PyCons. Now …
data analysis
dataclasses
itertools
math
Bite 296. Jagged list
Write a function that takes an irregular shaped list of …
iteration
itertools
list
Bite 66. Calculate the running average of a sequence
Write a function that takes a sequence of items and …
enumerate
itertools
mean
Bite 328. Longest coding streak
What is your longest streak of completed Bites? In Bite …
fromordinal
itertools
timezones
toordinal
Bite 330. Simple Math Equation Solver
Your task is to write a simple math equation solver. …
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 …
itertools
math
mean
Bite 16. PyBites date generator
Write a generator that returns every 100th day counting forward from …
datetime
generators
PCC
Title
Summary
No matching Challenges found.
We use Python 3.8