06joekru51263 06joekru51263
  • 26-02-2021
  • Computers and Technology
contestada

8.2 Code Practice Edhesive

Respuesta :

24shilka 24shilka
  • 01-03-2021

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)

Explanation:

Hope this helps!

Answer Link

Otras preguntas

how does critical thing effect decision making​
Please fill in the blanks. I set it as 30 but I don't know how many points you get for answering lol
Evaluation expression
Explain why a V-shaped graph does not represent a linear function.
Stanley runs, swims, and bikes every day. During these workouts, he runs at 9 mph, bikes at 16 mph, and swims at 2.5 mph. Yesterday, he ran for half an hour lon
What is a compound sentence? A sentence that contains two complete thoughts A sentence that contains one complete thought and no subordinate phrases A sentence
the difference of twice h and 5 is as much as the sum of h and 4
Question 2 of 10 If a reader wants to evaluate a text, which is the best question to ask while reading it? O A. How long is this text, and how quickly does it g
Suppose A and B are points on the number line. If AB=10 and B lies at -6, where could A be located?
There are 4 consecutive integers with a sum of –278. What is the greatest of the 4 integers?