Lab 8.2b - Can I or Can't I
In your editor (main.py)
Complete the following coding challenge:
Create a "Can I be President?" program, which determines if the user meets the minimum requirements for becoming the President of the United States. Have the user input the information needed.
The minimum requirements to be president of the United States are:
Older than 35
Resident of US for 14 Years
Natural born citizen
Print True
if the person could be president and False
if they can't be president.
Last updated
Was this helpful?