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

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 04:00
Laire writes a letter to her grandmother, in which she describes an amusement park she visited last week. she adds pictures of that place in her letter. which feature of a word processing program will claire to remove unwanted parts of the pictures?
Answers: 3
question
Computers and Technology, 23.06.2019 18:30
List 3 items that were on kens resume that should have been excluded
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
Afashion designer wants to increase awareness about her brand. which network can she use and why she can use the blank to blank her products online. answers for the first blank: internet, extranet, or intranet answers for the second blank: market, design, and export
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
What did i do wrong with this const discord = require('discord.js'); var bot = new discord.client(); const token = 'ntm3mjcxmtu1mjg3ote2ntq2.dyogew.dpfiwfpuifzuzvifop-csuxasnm' const prefix = "! " bot.registry.registergroup('simple', 'simple'); bot.registry.registerdefaults(); bot.registry. + '/commands'); bot.on('message', message => { if(message.content == 'hi! ') { message.channel.send ('@everyone sup, how is @everyone day going'); } if(message.content == 'h3lp') { message.channel.send ('dose not have any commands yet'); } bot.on('ready', function() { console.log("ready") }); bot.login(token);
Answers: 1
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
question
Mathematics, 14.07.2020 03:01
question
Mathematics, 14.07.2020 03:01
question
Mathematics, 14.07.2020 03:01
Questions on the website: 13722363