|Bite||Description & Tags|
|Bite 10. Practice exceptions||
In this bite you learn to catch/raise exceptions.Write a simple ...
exception handling raise
|Bite 12. Write a user validation function||
Create a function that takes a username and checks for ...
classes exception handling namedtuple
|Bite 24. ABC's and class inheritance||
ABC's or Abstract Base Classes are great to enforce a ...
ABCs abstractmethod classes inheritance
|Bite 25. No promo twice, keep state in a class||
In this bite a real world scenario: PyBites has a ...
classes exception handling properties
|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 42. Number Guessing Game Class||
In this Bite you implement a Game class to perform ...
classes games random
|Bite 59. Create a multiplication table class of variable length||
Danny does not like rote learning (nor do we!). He ...
classes dunder methods exception handling numbers
|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 70. Create your own iterator||
In this Bite you make an iterator called EggCreator by ...
|Bite 73. Organize a meeting between timezones (pytz)||
Help PyBites community friends find a reasonable common time to ...
|Bite 76. The singledispatch countdown challenge||
We are stoked and grateful to have Martin have you ...
decorators functools singledispatch
|Bite 86. Create a RGB-to-Hex converter||
Designer Mary wants to convert her CSS from statements like ...
|Bite 87. Convert Decimal to Roman Numerals||
Complete romanize that takes a decimal number and converts it ...
|Bite 92. Humanize a datetime||
In this Bite you will convert a timedelta object into ...
|Bite 93. Rock-paper-scissors and generator's send||
Generators are cool right?! Did you know you can send ...
|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 110. Type conversion and exception handling||
In this Bite you complete the divide_numbers function that takes ...
exception handling raise type casting
|Bite 114. Implement a Color class with classmethods||
As the new junior developer, you have been charged with ...
classmethod hex __repr__ __str__ string module
|Bite 136. Bloodtypes||
Check red blood cell compatibility between donor and recipient. For ...
enum exception handling multi type input
|Bite 137. Gourmets' Nightmare||
Many gourmets struggle to find the perfect pairing of wines ...
Counter intersection operator sorting
|Bite 141. Primitive date format inferrer||
Complete the get_dates method given the following:a listing of date ...
classmethod datetime enum exception handling
|Bite 142. Exception Handling: Calculate the Winning Player||
Complete the two functions below: calculate_score takes a list of ...
exception handling namedtuple numbers
|Bite 144. Calculate the Number of Months Passed||
Some more fun working with dates! In this Bite you ...
datetime dateutil exception handling