From 6ea486d136c02e787728cc0f1692e11e81f4a663 Mon Sep 17 00:00:00 2001 From: Muskansingh33 <149399411+Muskansingh33@users.noreply.github.com> Date: Mon, 30 Oct 2023 23:12:46 +0530 Subject: [PATCH] Create celsius to fahrenheit temperature --- celsius to fahrenheit | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 celsius to fahrenheit diff --git a/celsius to fahrenheit b/celsius to fahrenheit new file mode 100644 index 0000000..4af8b78 --- /dev/null +++ b/celsius to fahrenheit @@ -0,0 +1,10 @@ +# Temperature in Fahrenheit degree +fahrenheit = 104 + +# Converting the temperature to +# fehrenheit +celsius = (fahrenheit-32)/1.8 + +# printing the result +print('%.2f Fahrenheit is equivalent to: %.2f Celsius' + % (fahrenheit ,celsius))