Question: Python Code 3.9.1 Version 1: convert the degree between Celsius and Fahrenheit. def main(): F=100 # constant value/variable C=100 # constant value/variable print(F, 'Fahrenheit =
Python Code 3.9.1 Version
1: convert the degree between Celsius and Fahrenheit.
def main():
F=100 # constant value/variable
C=100 # constant value/variable
print(F, 'Fahrenheit = ',(F-32)*5/9, 'Celsius') # print and calucation
print(C, 'Celsius = ', C*9/5+32, 'Fahrenheit') # print and calucation
main()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
