New submission from Chandan Kumar <[email protected]>:
a=1.0
b=0.0
c=0.0
if (a> d and b):
print('hi')
else:
print("bye")
its going to else part
a=1.0
b=0.1
c=0.2
then its going to if part
a==1.0
b=0
c=0.1
then again its going to else part
----------
assignee: docs@python
components: Documentation
messages: 346972
nosy: Chandan, docs@python
priority: normal
severity: normal
status: open
title: multiple comparison
type: enhancement
versions: Python 3.7
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue37464>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com