colinaa colinaa
  • 25-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

Aimee must add together the following numbers: 3.50 + 4.00 + (-1.25) + (-7.50) + 5.25 + 2.00 As her first step, Aimee writes: (3.50 + (-7.50)) + (-1.25 + 5.25
Christianity was especially attractive to a. the poor. c. merchants. b. the powerful. d. Diocletian.
Select all that apply. What are three reasons for mass immigration today? -disease -better job opportunities -civil wars -famine -education
A will can be written by ________. a banker an attorney a financial planner a teacher
what are the structures into which a sporophyte differentiates
What was the overall goal of the Napoleonic Code? A.) to return to a more conservative, pre-Revolutionary form of government B.) to reform French law in line wi
Which word best describes Hammurabi’s Code?
How can a mixed number be written as a sum
Those who argue that ones ethical values must be evaluated in terms of one's culture and traditions are called
a picture has dimensions of 5 cm by 10 cm. IF you want to enlarge the picture to a size of 32 1/2 cm x 65 cm by what fraction would you multiply the dimension