subject

Iwant to write a program in python which computes and. prints a table of celsius temperatures and the fahrenheit equivalents every. 10 degrees from 0c to 100c. i spent a lot of time on it and prepared the following code: . def main(): . for i in range(0,11): . celsius = i * 10. fehrenheit = ((9.0/5.0)*(celsius)) + 32. print celsius,"c is equal to", fehrenheit,"f"
and it works. but i think i should have given a range of 0-100 instead right? i mean i manually found "every
10 degrees from 0c to 100c" but i should have let the program find it right?

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:30
You have a large, late-model pick-up truck with a rear seat. the pick-up truck weighs 6,500 pounds. the florida seat belt law
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Which of the following is not a way in which trees benefit the environment? a. they remove a significant amount of carbon dioxide from the atmosphere. b. they remove a significant amount of oxygen from the atmosphere. c. their roots hold soil in place, reducing rates of erosion. d. they remove ozone and particulates from the atmosphere. select the best answer from the choices provided a b c d
Answers: 1
question
Computers and Technology, 23.06.2019 20:00
What multimedia system creates an immersive, real-life experience that the user can interact with?
Answers: 1
question
Computers and Technology, 24.06.2019 08:50
Write a program that will compute the volume of ice cream served in a cone. as you can see in the diagram below, the ice cream is served as a hemisphere of frozen deliciousness on top of a cone, which is also packed with frozen deliciousness. thus, the total volume of ice cream sold is the volume of the hemisphere plus the volume of the cone. the example shows an ice cream cone in which the hemisphere and cone have a radius of 10 inches and the cone has a height of 15 inches. your program must instead prompt for these two values, which are taken from the keyboard as integers: • the hemisphere/cone radius in inches, and
Answers: 3
You know the right answer?
Iwant to write a program in python which computes and. prints a table of celsius temperatures and th...
Questions
question
Spanish, 05.08.2019 00:10
question
Mathematics, 05.08.2019 00:10
question
English, 05.08.2019 00:10