1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ExtremeBDS [4]
3 years ago
6

his exercise creates a program to convert the temperature values form Fahrenheit to Celsius for a list of 10 temperature values

between -10° and 75°. The program shall have the following features:1. Create a temperature list that contains 10 values ranging from -10° to 75°.2. Create a function to convert temperature values from Fahrenheit to Celsius.3. Create a while-loop to index the temperature value item in the list and call the function to calculate the temperature value in Celsius.4. Print the temperatures in the format of:32 degrees Fahrenheit = 0 degrees Celsius
Computers and Technology
1 answer:
MissTica3 years ago
5 0

Answer:

def fahrenheit_to_celsius(temperature):

   c = (temperature - 32) / 1.8

   return c    

temperature_list = [-10, -5, 0, 10, 20, 32, 40, 50, 60, 75.2]

i = 0

while i < 10:

   print(str(temperature_list[i]) + " degrees Fahrenheit = " + str(fahrenheit_to_celsius(temperature_list[i])) + " degrees Celsius")

   i += 1

Explanation:

*The code is in Python.

Create a function named fahrenheit_to_celsius that takes one parameter, temperature

Convert the temperature to celsius using the formula

Return the result of the conversion

Create a list holding ten temperatures

Create a while loop that iterates 10 times. Inside the loop, call the function to convert the each temperature in the list and print the result

You might be interested in
Angela's ready to get started with her first Smart Display campaign, but her account isn't yet eligible due to not having enough
Kisachek [45]

Answer:

At least 50 conversions on Display or at least 100 conversions on Search

Explanation:

Smart Display Campaigns by Google provides an intelligent and simply solution to help manage the complexities of display advertising, and is regarded as the easiest way to increase customer base and conversions. In order to set up a Smart Display Campaign, go to the Campaign tab in Google Adwords and go ahead to click on "create a new display campaign". It is important to be aware that to be eligible to run this solution, you are expected to have at least 50 conversions on display or 100 conversions on Search in the last 30 days.

3 0
3 years ago
Help me please will give credit to the right answer
MissTica

Answer:

the answer should be A that's the best

5 0
3 years ago
Read 2 more answers
You can expect to see ________. it's for drivers ed.
Ierofanga [76]

Answer:

D

Explanation:

6 0
3 years ago
Which name is assigned to the transport layer pdu?
12345 [234]

Answer:

TCP segment

Explanation:

4 0
2 years ago
Read 2 more answers
HELP PLSS‼️ Which are the following are considered peripherals? Mark all that are correct
My name is Ann [436]

Answer:

Speaker, Keyboard, Monitor, Mouse

Explanation:

A peripheral device is used to put input into (or receive output from) a computer. Parts of a computer wouldn't be considered peripheral.

5 0
3 years ago
Other questions:
  • The ease of travel in the twentieth century played a role in the advancement of medicine. Based on this lesson, which statement
    5·2 answers
  • Create a story that depicts the events leading up to a vehicle crash fatality, the crash itself, and the emotional aftermath on
    9·1 answer
  • What is the full form of icimod?
    6·1 answer
  • What are the advantages of using the internet as theinfrastructure for electronic commerce and electronicbusiness?
    6·1 answer
  • This function causes a program to terminate, regardless of which function or control mechanism is executing.
    12·1 answer
  • Does Buzz or APEX shows all your due assignments on the left of the main home screen?
    11·1 answer
  • What is the cell reference for row 22 and column B? __________<br><br> In excel
    5·1 answer
  • Select all of the reasons Windows 95 increased the popularity of Windows.
    12·1 answer
  • +
    8·2 answers
  • Can anyone figure this out???? I need help ASAP!
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!