Senior Citizen Check
EasyP3Coding
Return "Senior Citizen" if age is at least 60, otherwise "Not Senior Citizen".
Example 1
- Input
- age = 65
- Output
- "Senior Citizen"
Example 2
- Input
- age = 30
- Output
- "Not Senior Citizen"
Example 3
- Input
- age = 60
- Output
- "Senior Citizen"
Constraints
- 0 <= age <= 130
Hints
Give it a real attempt first. Run shows which examples fail.
Saved automatically
Run checks the 3 visible tests, Submit all 8. ⌘Enter runs, ⌘⇧Enter submits.