Answer the question
In order to leave comments, you need to log in
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"
else:
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question