Skip to content
Onsite

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

Run checks the 3 visible tests, Submit all 8.