SHADOWFOX_Python_Task04/ │ ├── bmi_and_city_checker.py # Combined Python script ├── README.md # Task summary and usage instructions ├── screenshots/ │ ├── bmi_output.png # Screenshot of BMI output │ └── city_output.png
This task involves using Python if-else conditions to build two mini-programs:
- BMI Category Checker
- City-to-Country Identifier
1. BMI Calculator
- Inputs: height (m), weight (kg)
- Outputs: BMI value and category (Underweight, Normal, Overweight, Obesity)
2. City-to-Country Checker
- Inputs a city name
- Matches to: Australia, UAE, or India
- Outputs the matching country or a not-found message
- Conditional branching (
if,elif,else) - Input handling with
input()andfloat() - List membership checks (
in)
Screenshots of terminal output are available in the screenshots/ folder.
[Insert video link or upload under /video/ folder]
✅ Completed as part of the ShadowFox Internship – Task 04