[docs] [issue37464] multiple comparison

Karthikeyan Singaravelan report at bugs.python.org
Mon Jul 1 04:40:20 EDT 2019


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

a=1.0
b=0.0
c=0.0
if (a> d and b):
     print('hi')
else:
     print("bye")

d is not defined here and it throws a NameError for me. Can you please attach the full scripts that can be used to reproduce the behavior in the report.

----------
nosy: +xtreak

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37464>
_______________________________________


More information about the docs mailing list