Question: # 1: Variables age = input(Enter Age: ) # 2. Variables # Using the above as a guide, complete the following line so that #

# 1: Variables


age = 


input("Enter Age: ") 


# 2. Variables 


# Using the above as a guide, complete the following line so that 


# "Enter Number of years as a US Citizen: " will appear when the script is executed citizen =


# 3. Conditional Statement 


# Using the variables 'age' & 'citizen', construct a conditional statement that will check to see is the user is eligible for the Senate, House of Representatives, both or neither. To help you get started the first condition has been provided for you 


if ___ >= 30 and citizen >= 9:    


print ("You are eligible for the Senate and the House ")


____ age >= 25 and citizen >= __:    


print ("You are eligible for the House of Representatives.")


else:  


print ("You are ineligible to serve.")

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

age intinputEnter Age citizen intinputEnter Number of y... View full answer

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 Programming Questions!