Skip to content

Instantly share code, notes, and snippets.

@MahraibFatima
Created March 19, 2024 16:10
Show Gist options
  • Save MahraibFatima/61ccda7352d948a537977bcef0c80d28 to your computer and use it in GitHub Desktop.
Save MahraibFatima/61ccda7352d948a537977bcef0c80d28 to your computer and use it in GitHub Desktop.
Convert the temperature from Celsius to Fahrenheit
celsius = float(input("Enter temperature in Celsius: "))
fahrenheit = (celsius * 9/5) + 32
print("Temperature in Fahrenheit:", fahrenheit)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment