Day 6
Objective: Filter recruits for the Justice League!
OPEN GOOGLE COLAB(Click to open in a new tab)
The Justice League is looking for new recruits, but they receive thousands of applications every day! They need YOU to build a program that automatically filters the aspirants.
Your code will act as the "Sorting Hat" for superheroes, deciding their future based on their Age and Strength.
if, elif, and else to
make decisions.
1. Ask for Data:
2. Make Decisions (The IF Logic):
Don't forget the colons : at the end of your if, elif, and
else lines!
And remember input always gives you text strings! Use int() to do math comparisons.
Paste your Python code here to check if your recruitment system works! (Type it out, no pasting!)
input() calls (Name, Age, Strength).
int() for Age and Strength.
if, elif, and else correctly.
This certifies that
Has built the
Justice League Recruitment System!
Python Path - Day 6