📜  python 如何签入列表 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:17.568000             🧑  作者: Mango

代码示例1
# app.py

listA = ['Stranger Things', 'S Education', 'Game of Thrones']

if 'Dark' in listA:
    print("Yes, 'S Eductation' found in List : ", listA)
else:
    print("Nope, 'Dark' not found in the list")