+ 1

Help with a °C to °F conversor.

This is my first code, I've fixed all str, float, tuple errors I got. My idea is: when "x"F would be inserted, I would get "y"C as result, and when "x"C would be inserted, I would get "y"F. I keep getting "No output" though, I've been writing this for over 3 hours and can't think of any other solution. Here it is: https://code.sololearn.com/cQ75RbrYbyuA/?ref=app

4th Mar 2020, 8:22 PM
Edvan Filho
Edvan Filho - avatar
1 Answer
+ 5
Hi Buddy Your code starts off with an input that can't be interpreted as an integer, then gets really convoluted. Try simplifying and proving the functions of your code as you develop it, so you are only resolving one problem at a time. # integer input Medido = int(input()) # Farenheit to Celcius print((medido -32)*(5/9)) # conversion formula courtesy of Google See if you can develop the Celcius to Farenheit by yourself
4th Mar 2020, 8:47 PM
Rik Wittkopp
Rik Wittkopp - avatar