Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Python: Member of collection

📅 2009-Sep-29 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

a = [1, 2, 3] 3 in a # True 5 in a # False 5 not in a # True