Hello everyone, I am practicing Python by making a small program that converts Farenheight to Celsius and vice versa. This is what I have so far: http://slexy.org/view/s20JTLkRwQ My output however was not what I was expecting which is, with choosing the number 55 and the Celsius option, "<function Celsius at 0x00BF6FA8>". My questions are, why does " "<function Celsius at" print out when i only expected the hex number to print? Later on I want to change the hex number to a Decimal number and I think I can do that with ord(), but I am still getting a type error saying that ord() expected a string length of 1. Could anyone point me in the direction to finding my mistakes?

First edited the Celsius() to Celsius(user), same with Fahreneit. After that the program displayed a number as a result, yet the math was wrong (dunno why, the syntax looked right). After I edited the 9/5 to 1.8 the math worked.

So now that it works, why did my original code now work? Like why did it produce a hex number and a unexpected output. Just so that I know for later projects, Gaito and Vulpine pretty much just gave me the answer which is not necessarily what I needed.