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 17:00
What allows you to create a wireless connection among your smart devices
Answers: 2
question
Computers and Technology, 23.06.2019 01:50
Create a class named majors that includes an enumeration for the six majors offered by a college as follows: acc, chem, cis, eng, his, phys. display the enumeration values for the user, then prompt the user to enter a major. display the college division in which the major falls. acc and cis are in the business division, chem and phys are in the science division, and eng and his are in the humanities division. save the file as majors.java.
Answers: 2
question
Computers and Technology, 23.06.2019 02:30
Experimental data that is expressed using numbers is said to be
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
20 points archie wants to use a reflector as he photographs a newlywed couple. what would he consider in his choice? a. shadow and sunny b. homemade and professional c. lamps and boards d. incident and reflected e. neutral density and enhancement
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
English, 01.06.2021 08:50
question
Mathematics, 01.06.2021 08:50
question
English, 01.06.2021 08:50
question
English, 01.06.2021 08:50
question
Mathematics, 01.06.2021 08:50
Questions on the website: 13722367