Answer:
temperatures = []
i = 0
while i < 5:
try:
t = int(input('Enter a temperature: '))
temperatures.append(t)
i += 1
except ValueError:
print('Enter a number')
print(temperatures)
Step-by-step explanation:
Hope this helps!
4.5m questions
5.7m answers