bool type have big problem. finally program returned "True".Is this the TRUE spec?

Alan Bawden alan at csail.mit.edu
Mon Jan 20 14:16:42 EST 2025


あうぇくろ <deqser25 at gmail.com> writes:

   tpr=composite(type,print)
   print(tpr('a')==tpr(1))
   Why does tpr('a')==tpr(1) return True?

Because tpr always returns the value None.


More information about the Python-list mailing list