[New-bugs-announce] [issue43134] (list have item) instate (item in list)

Masoud Azizi report at bugs.python.org
Fri Feb 5 05:20:50 EST 2021

New submission from Masoud Azizi <mablue92 at gmail.com>:

Please append a code to reverse check?like that?

print([input() for i in'_'*10] have input())

Instade of:
print(input() in [input() for i in'_'*10] )

i want to check that: is last input in the inputs or not!

messages: 386522
nosy: mablue
priority: normal
severity: normal
status: open
title: (list have item) instate (item in list)
type: behavior
versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list