Temperature Converter Program
Temperature Converter Program
print("Temperature in Fahrenheit:",
PROGRAM FOR COVERTING TEMPERATURE
fahrenheit)
• def celsius_to_fahrenheit(celsius):
• fahrenheit = (celsius * 9/5) + 32
• This line prints the calculated temperature in Fahrenheit to the console. • return fahrenheit
- AMEER HASSAN
2AB22BA003