Question: Python A person is eligible to be a US senator if they are least 30 years old and have been a US citizen for at

Python

A person is eligible to be a US senator if they are least 30 years old and have been a US citizen for at least 9 years. To be a US representative, these numbers are 25 and 7, respectively. Write a program that prompts the user for their age in years and their number of years of citizenship. Display the users eligibility for the Senate and the House. Dene functions where appropriate.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!