What is wrong with my python code here?


#1

I keep getting an error message in line 13: What's wrong?

# This is a program which lets you know
# if you have to wear a coat or not,
# depending on the temperature (in Celsius) of
# the weather

# Here is a set temperature of weather
temp_bar = 8

def main():
	put_temp = int(input('Please enter todays temperature: ')

	# This is where the work get's done
	if temp_bar > put_temp:				
		print('Wear a coat!')
	else:
		print('No need for a coat!')
		
# Call 'main' function
main()

#2

the problem is in this line:

put_temp = int(input('Please enter todays temperature: ')

the number of opening parentheses doesn't match the number of closing parentheses


#3

heh heh, can't believe I missed that...


#4