Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
It's part of the challenge to be able to not get an error in this case.
This comment is hidden because it contains spoiler information about the solution
In this
def check_alive(health: int) -> bool:
case, you're referencing two things.health: int
<- Here the variable health is set to require an integer value to be passed to the function.check_alive() -> bool:
<- Here the functions' return type is set explicitly to a boolean value.This comment is hidden because it contains spoiler information about the solution
wait until you find out it's way more than your regular switch case..
bruh
No comma comment?
Properly List-Incomprehensible, +1