jaceypickett jaceypickett
  • 24-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

passes through -1, 10, slope equals -6
Why are the highest rates of HIV infection in the countries of sub-Saharan Africa? 1.These countries have unusually high populations of gay men, 2.People in thi
C++ a. Write a program that uses the function isPalindrome given in example 6-6 (Palindrome). Test your program on the followinng strings: "madam", "abba", "22"
A manufacturer makes bags of popcorn and bags of potato chips. The average weight of a bag of popcorn is supposed to be 3.05 ounces with an allowable deviation
Which agricultural system trapped many southern blacks in a cycle of debt and poverty despite their hard work? sharecropping farm alliances crop lien system ho
What is the percent error in the meteorologists forecast for Monday?
Devaughn is 5 years older than Sydney. The sum of their age is 87. What is Sydney’s age?
Question is in the picture
In an ap Sn= n2+n. Then find first term.
Select all of the following statements regarding security policy that are true. Access to sensitive data should be limited to only to employees who have worked