[Tutor] Temerature conversion??

Chuck Baker ChuckBaker@pokynet.com
Mon Dec 2 20:23:56 2002


<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
-----BEGIN PGP SIGNED MESSAGE-----
<br>Hash: SHA1
<p>Hello everyone.
<p>I am new to the list and have just started playing with Python. I
<br>have programed in BASIC before.
<p>I was going through and playing with it and I started out making a
<br>temperature conversion program.
<p>Converting fahrenheit to celsius I had no problem
<br>(98.6-32)/9*5 =37
<p>That worked fine. But when I tried to reverse it,
<br>37/5*9+32
<br>It came out to = 95 not 98.6
<p>and I can't figure out why??
<p>- --
<br>Chuck Baker
<br>ICQ# 1816811
<br>ChuckBaker@Pokynet.com
<br>ChuckBaker1@icqmail.com
<br>Yahoo ID: ChuckBaker11@Yahoo.com
<br><A HREF="http://Chuck_Baker.Tripod.com">http://Chuck_Baker.Tripod.com</A>
<br>Fax: 801-740-7293
<br>&nbsp;
<p>-----BEGIN PGP SIGNATURE-----
<br>Version: PGP 8.0 (Build 349) Beta
<br>Comment: Check out my website at <A HREF="http://Chuck_Baker.tripod.com">http://Chuck_Baker.tripod.com</A>
<p>iQA/AwUBPeqg8HgliK6chUrEEQIRHACdEu6D2A6oCMJiihEDt2czst9UG0IAn1tV
<br>rdBJl7piIGnYpApGOK2YmvNg
<br>=D154
<br>-----END PGP SIGNATURE-----
<br>&nbsp;</html>