CODE
#convert.py
#Python program to convert Celsius temps into Fahrenhit
def main():
print("This program convert Celsius temps into Fahrenhit")
celsius=eval(input("What is the Celsius temprarure outside now ?"))
fahrenhit = 9/5 * celsius + 32
print("Aha , I know temprature is ", fahrenhit , "degrees fahrenhit.")
main()
No comments:
Post a Comment