From 79efb0df9f651bc86cd6d241764beef84b319cdc Mon Sep 17 00:00:00 2001 From: Amit kumar <70947616+Amitkumar233@users.noreply.github.com> Date: Sat, 3 Oct 2020 11:57:13 +0530 Subject: [PATCH] Create Celsius to Fahrenheit conversion --- Celsius to Fahrenheit conversion | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Celsius to Fahrenheit conversion diff --git a/Celsius to Fahrenheit conversion b/Celsius to Fahrenheit conversion new file mode 100644 index 0000000..44b2d84 --- /dev/null +++ b/Celsius to Fahrenheit conversion @@ -0,0 +1,8 @@ +#This is a python3 code. For Celsius to Fahrenheit conversion. + +def temp(c): + f = (9 / 5) * c + 32 + return (print(f)) +c=int(input('enter temp in Celsius !')) +print("Fahrenheit Temperature") +temp(c)