Python # 1: Variables age = input(“Enter Age: “) # 2. Variables #…
Question Answered step-by-step Python # 1: Variables age = input(“Enter Age: “) # 2. Variables #… Python # 1: Variablesage = 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 executedcitizen =# 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 youif ___ >= 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.”) Computer Science Engineering & Technology Python Programming Share QuestionEmailCopy link Comments (0)


