subject

I'm trying to run this program, but it keeps giving an 'unexpected EOF while parsing.' If anyone can help me, I'll be blessed. print("Welcome Everyone! We're here today to watch the elections for HoR (House of Representatives)! Here's our first Congressman/woman now.")
print("Answer the following questions or press 'Q' to quit")
name = input("Enter your name: ")
print("Welcome to the Congressional Elections", name + "!")
if name == 'Q':
print ("You've chosen to quit this program. Goodbye.")

Age = input("Enter Age: ")
try:
checker = int(Age)
if checker >= 25:
print(name + " can run for Congress")
break
else:
print(name + " cannot run for Congress")

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 02:40, homework1911
Has anyone seen my grandma shes been gone for 4 years already
Answers: 1
image
Computers and Technology, 24.06.2019 07:00, jared2461
Jean has kept the content of her website limited to what is important; she has also ensured that the text follows a particular style and color all throughout her website. which website features has jean kept in mind? jean has limited the content of her website to what is important; this ensures (clarity, simplicity, harmony and unity) of the content. she has also formatted the text in a particular style and color throughout her website, ensuring (balance, simplicity, consistency)
Answers: 2
image
Computers and Technology, 24.06.2019 08:30, daskatingpanda
Formatting rows and columns is similar to cell formatting. in an openoffice calc spreadsheet, you can format data entered into rows and columns with the of the rows and columns options. you can insert rows and columns into, or delete rows and columns from, a spreadsheet. use the insert or delete rows and columns option on the insert tab. alternatively, select the row or column where you want new rows or columns to appear, right-click, and select insert only row or only column options. you can hide or show rows and columns in a spreadsheet. use the hide or show option on the format tab. for example, to hide a row, first select the row, then choose the insert tab, then select the row option, and then select hide. alternatively, you can select the row or columns, right-click, and select the hide or show option. you can adjust the height of rows and width of columns. select row and then select the height option on the format tab. similarly, select column, then select the width option on the format tab. alternatively, you can hold the mouse on the row and column divider, and drag the double arrow to the position. you can also use the autofit option on the table tab to resize rows and columns.
Answers: 1
image
Computers and Technology, 24.06.2019 10:00, zlittleton2008
Which feature of a blog to restore and retrieve older post
Answers: 3
You know the right answer?
I'm trying to run this program, but it keeps giving an 'unexpected EOF while parsing.' If anyone can...

Questions in other subjects:

Konu
Mathematics, 29.08.2019 07:30