🏠 Home

🦸 Superhero Recruitment System

Objective: Filter recruits for the Justice League!

🚀 OPEN GOOGLE COLAB

(Click to open in a new tab)

🚨 The Mission

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.

🗝️ Key Concepts

📥 Input: Getting data from the user (Name, Age, Strength).
🔢 Int(): Converting text to numbers so we can compare them.
🔀 Conditionals: Using if, elif, and else to make decisions.

💻 Your Coding Adventure

📜 The Rules of Recruitment

1. Ask for Data:

  • Ask for the Recruit's Name.
  • Ask for their Age (Convert to number!).
  • Ask for their Strength Level (1-100) (Convert to number!).

2. Make Decisions (The IF Logic):

  • Rule 1 (Too Young): If age is less than 10, print:
    "You are too young. Go to the Cadet School."
  • Rule 2 (Super Strong): If strength is greater than 80, print:
    "Welcome to the Frontline Team!"
  • Rule 3 (Average Strength): If strength is between 40 and 80, print:
    "Assigned to Support and Rescue Team."
  • Rule 4 (Low Strength): If none of the above, print:
    "Assigned to Training Team."

⚠️ SUPERHERO TIP:

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.

💡 Example Output

System: Welcome Recruit! What is your name? User: Super Pedro System: How old are you? User: 12 System: What is your strength level (1-100)? User: 85 System: Analyzing... System: Congratulations Super Pedro! With strength 85, you are on the Frontline Team!

📝 Code Submission

Paste your Python code here to check if your recruitment system works! (Type it out, no pasting!)

✅ Evaluation Criteria

  • Has 3 input() calls (Name, Age, Strength).
  • Uses int() for Age and Strength.
  • Uses if, elif, and else correctly.
  • Checks for age < 10 AND strength conditions.
🦸

OFFICIAL RECRUITER

This certifies that

Student Name

Has built the
Justice League Recruitment System!

Python Path - Day 6