+ 3

Hi, how i write code that convert from F° to C° ?, in python , please help me

25th Mar 2021, 5:42 PM
MISA
MISA - avatar
7 Answers
+ 2
Please show your attempt first
25th Mar 2021, 5:44 PM
Atul [Inactive]
+ 2
C=(F-32)/1.8 That's all you need to know
25th Mar 2021, 5:45 PM
Michal Doruch
+ 1
U can do it through switch. For further assistance you can also post your code so that we can tell you more alternatives
25th Mar 2021, 6:11 PM
Atul [Inactive]
+ 1
C/5 = (F - 32)/9
26th Mar 2021, 10:06 AM
Sanjay Kamath
Sanjay Kamath - avatar
0
i mean how do I make the user to choose between them and then the program will convert
25th Mar 2021, 6:02 PM
MISA
MISA - avatar
0
c=int(input("Enter c")) print(c*1.8+32) f=int(input("Enter f")) print(f-32*1.8) I wrote this, but it'll print it all out , I don't want to, I just want to know how to make the user to choose .
25th Mar 2021, 6:29 PM
MISA
MISA - avatar