I want 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?