On Monday, September 23, 2013 10:12:05 PM UTC-4, Denis McMahon wrote: > > > If the first function you wrote allows you to convert temps in different > > scales to a common scale, then in the second function, you can call the > > first function to convert both temps to a common scale, and compare them. > > > > Adding "same scale" conversions in the first function might help. In a > > same scale conversion, the input and output units are the same, and the > > output value is the input value. > > > > Then to compare T1 in u1 and T2 in u2, convert them both to a common > > scale (which might be u1 or u2 or some other scale) using your temp > > function, and then compare the resulting values. > > > > -- > > Denis McMahon, denismfmcma...@gmail.com
Not sure if we've gotten that far in class, considering I don't know how to go about doing that. For the third function, I'm actually kind of stumped: def P(p_0, t, i): Amount = P(1 + (i/100)) return P(1 + (t * i/12)) -- https://mail.python.org/mailman/listinfo/python-list