Hone Your Python Skills!
Newbie Bites
Intro Bites
Regular Bites
Learning Paths
100 Days of Code
Pricing
Community
Login
☰
☰
PyBites Platform
Pybites Platform 2.0 is live 🎉 🐍
Join us now 📈
What to code next?
Bites of Py Exercises
Blog Code Challenges
Bite
Level
Description & Tags
Bite 11. Enrich a class with dunder methods
Let's enrich an Account class by adding dunder (aka special) …
3.10
dunder methods
functools
properties
Bite 19. Write a property
Write a simple Promo class. Its constructor receives two variables: …
3.10
datetime
properties
Bite 85. Write a score property
After Bite 19. Write a simple property let's write a …
3.10
classes
properties
Bite 25. No promo twice, keep state in a class
In this bite a real world scenario: PyBites has a …
3.10
classes
exception handling
properties
Bite 34. Building a Karma app - implement the User class
This Bite is about implementing a User class that keeps …
3.10
classes
dunder methods
namedtuple
operator overloading
properties
Bite 158. Subclass the list built-in
In this Bite you will complete IntList, a subclass of …
3.10
dunder methods
exception handling
inheritance
list
mean
median
operator overloading
properties
statistics
Bite 166. Complete a tox ini file parser class
The INI file format is an informal standard for configuration …
3.10
classes
configparser
properties
string matching
string parsing
tox
Bite 167. Complete a User class: properties and representation dunder methods
In this Bite you are presented with another class, User …
3.10
classes
dunder methods
f-strings
properties
__repr__
__str__
string manipulation
Bite 174. String manipulation and metrics
This bite will get you to play around with creating …
3.10
Counter
dataclasses
list comprehensions
properties
string formatting
string manipulation
translate
Bite 207. Cached property decorator
Given the sample class Planet, computing the mass attribute of …
3.10
caching
classes
decorators
properties
Bite 269. Taxable Income Calculator
I have no idea what rabbit hole I followed to …
3.10
classes
dataclasses
finance
namedtuple
properties
typing
Bite 282. Evaluate a Bridge hand
In this bite you will implement a BridgeHand class representing …
3.10
classes
enum
exception handling
looping
properties
sorting
Bite 309. A simple document class
When we want to transform our data often, method chaining …
3.10
annotations
classes
method chaining
properties
string
Bite 24. ABC's and class inheritance
ABC's or Abstract Base Classes are great to enforce a …
3.10
ABCs
abstractmethod
classes
inheritance
Bite 292. Scoring matrices
Proteins fulfill important functions in all organisms and consist of …
3.10
bioinformatics
enumerate
looping
numbers
zip
PCC
Title
Summary
No matching Challenges found.