Kotya123_652020-11-29 19:15:03
Kotya123_65, 2020-11-29 19:15:03

Another syntax error, what should I do?

answer = 'In the city' + message.text + + 'Now' + w.get_detailed_status() + "\n"
answer += "The temperature is now in the area" + str(temp) + "\n\n"
if temp < 0:
answer += "It's cold now, dress warmly"
elif temp < 10:
answer += "The temperature is warmer now, but I advise you to dress warmly"
answer += "The temperature is average now, wear a cap, jeans and a light jacket"
is code snippet, when i include the code writes SyntaxError: inconsistent use of tabs and spaces in indentation

Answer the question

In order to leave comments, you need to log in

Similar questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question