Help with python functions?
Denis McMahon
denismfmcmahon at gmail.com
Tue Sep 24 15:42:10 EDT 2013
On Tue, 24 Sep 2013 14:51:31 +0000, Denis McMahon wrote:
> Question, given the original "temp" function as previously described by
> yourself, what does the following function "f" which takes the same
> params as "comp" do:
>
> def f( t1, u1, t2, u2 ):
> if u1 == u2:
> return t2
> else:
> return temp( t2, u2, u1 )
Hmm, maybe:
if u1 == u2:
should have been:
if u1.lower() == u2.lower():
--
Denis McMahon, denismfmcmahon at gmail.com
More information about the Python-list
mailing list