SyntaxError: unexpected EOF while parsing. Что делать?
from pyowm import OWM
from pyowm.utils.config import get_default_config
from pyowm.commons.exceptions import NotFoundError
place = input("В каком городе/стране?: ")
config_dict = get_default_config()
config_dict['language'] = 'ru' # your language here
owm = OWM('2533d80175e4e2fc0f432d20475ce357') # You MUST provide a valid API keyplace = input("Введи Город/страну: ")
mgr = owm.weather_manager()
try:
observation = mgr.weather_at_place(place)
w = observation.weather
temp = w.temperature('celsius')["temp"]
print("В городе " + place + " сейчас" + w.get_detailed_status)
print("Температура сейчас в районе " + str(temp))
if temp < 10:
print("Сейчас пипец как холодно, одевайся как танк!" )
elif temp < 20:
print("Сейчас холодно, оденься потеплее." )
else:
print("Температура норм, одевай что угодно." ())
Выдает ошибку
SyntaxError: unexpected EOF while parsing