Hone Your Python Skills!
Newbie Bites
Intro Bites
Regular Bites
Learning Paths
100 Days of Code
Pricing
Community
Login
☰
☰
PyBites Platform
What to code next?
Bites of Py Exercises
Blog Code Challenges
Bite
Level
Description & Tags
Newbie Bite 29. Default Arguments
In this Bite, we are going to explore the concept …
3.10
arguments
functions
newbie
Bite 43. Force keyword arguments
Write a function called get_profile that only allows 2 keyword …
3.10
function arguments
kwargs
Bite 36. Having fun with *args and **kwargs
Write a function called get_profile that takes: a required name, …
3.10
args
function arguments
kwargs
Bite 57. Create a simple calculator that receives command line
arguments
In this Bite you write a simple calculator that can …
3.10
argparse
functools
reduce
Bite 58. Using argparse to interface with a grocery cart
Below is a Groceries class with add/delete/show/search methods. You as …
3.10
argparse
Bite 120. Write a numbers validation decorator
Let's get some more practice with decorators ... in this …
3.10
decorators
Bite 315. More logging practice
In this Bite you will hone your logging skills by …
3.10
exception handling
logging
Bite 320. sortable dataclasses and enums
Write an enum called BiteLevel and a dataclass called Bite …
3.10
dataclasses
dunder methods
enum
sorting
Bite 354. When to Use Command Line Option (CLI) Options and When CLI
arguments
?
In Typer, you can use either typer.Option or typer.Argument. Well, …
3.10
command line
Typer
Bite 356. Using Typer Callbacks to Create Command Line Interface (CLI) Parameters
In the previous Bite you have created your first simple …
3.10
command line
Typer
Bite 366. Goal Tracker
In this Bite, you build a function that tells you …
3.10
date
datetime
tuple unpacking
Newbie Bite 28. Type Hints
In this bite, we are going to explore type hints …
3.10
newbie
type hints
PCC
Title
Summary
No matching Challenges found.