NOT IN keywords, in Python, checks if the value you mentioned is not in a specific list. Example:
names = ["Cris", "Katy", "Kratos"]
if "Zeus" not in names:
print("Must add to the list.")
-------------------------Subscribe----------------------------
• If you like to see a variety of fun and interactive projects written in Python
• If you love ☕ and 🐶 WAIT! - Yeah! Definitely, coffee and dogs!
-----------------------------------------------------------------------
-------------------------Socials----------------------------
• Twitter: / iftodd1
• Facebook: / iftodd
• Instagram: / if_todd
------------------------------------------------------------------
-------------------------Support----------------------------
You can support me here: / if_todd
--------------------------------------------------------------------
Checking whether a value is not in a list #python #shorts #list