J
J
Just Python's sheep2020-07-21 16:19:19
Python
Just Python's sheep, 2020-07-21 16:19:19

Pyowm, why does it incorrectly display the value of the minimum and maximum temperatures?

Ku, why does it incorrectly display the value of the minimum and maximum temperatures in Pyowm?

nt = w.temperature('celsius')['temp_min']
xt = w.temperature('celsius')['temp_max']
mmr = str(nt) + " / " + str(xt)
print(mmr)


Everything is displayed on the screen, but for some reason the min and max temperatures are the same as What should I do?
t = w.temperature('celsius')['temp']

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim, 2020-07-21
@Viji

You would show your objects, tuples and dictionaries first - the values!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question