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, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list