Hone Your Python Skills!
Bites of Py Exercises
Newbie Bites
Learning Paths
Pricing
100 Days of Python
Blog Code Challenges
Documentation
Login
☰
☰
PyBites Platform
What to code next?
Bites of Py Exercises
Blog Code Challenges
Bite
Level
Description & Tags
Bite 98. Code your way out of a grid
Given a 2D grid of equal length x and y, …
looping
namedtuple
numbers
numpy
tuple unpacking
Bite 103. Loop through a dictionary and pluralise a word
You're given a dictionary of people and the number of …
dict
looping
Bite 123. Find the user with most friends
In this Bite you are presented with a users dict …
defaultdict
looping
sorting
tuples
Bite 134. Two Sums
Given a random list of numbers, your task is to …
index
looping
sorting
sum
Bite 189. Filter a list of names
Here is a Bite to practice the continue and break …
break
continue
generators
looping
Bite 208. Find the number pairs summing up N
In this Bite you complete find_number_pairs which receives a list …
itertools
looping
numbers
Newbie Bite 22. For loops
It's time to move on to a slightly more complex …
looping
newbie
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 225. Swap case PyBites characters
In this Bite you will swap case all pybites characters …
looping
string manipulation
string parsing
Bite 231. Where are the emojis?
In this Bite you are given a list of strings …
emojis
list
list comprehensions
looping
regular expressions
Bite 232. Analyze gold prices
In this Bite you will analyze how the price of …
comparison
data analysis
looping
pandas
sorting
string parsing
Bite 237. Get the dates Ninja belts were earned
Another real-world scenario: in this Bite you will parse a …
datetime
json
looping
pandas
sorting
Bite 244. Make mutpy's output more digestible
Another real world scenario. When we started using MutPy for …
data wrangling
looping
mutpy
string matching
string parsing
Bite 263. Count the number of islands in a grid
You are tasked with counting the amount of islands in …
algorithms
looping
string
Bite 265. Optimal fund raising
Here is another classic algorithm problem wrapped in a Bite. …
algorithms
looping
math
Bite 267. Measure the size of an island
In this algorithm Bite, the challenge is to measure the …
algorithms
looping
math
Bite 180. Group names by country
In this Bite you are presented with a list of …
collections
defaultdict
groupby
Newbie Bite 23.
looping
through a dict
While we've explained how for loops work, it's worth diving …
dict
newbie
PCC
Title
Summary
No matching Challenges found.
We use Python 3.7