A “truthy” truth are various ways to get boolean True/False from other variables. For instance, 0 is false and 1 is true. If there are no string or other values inside () or {}, it will evaluate to false.
One can use “in” to detect whether a certain character is inside a string. This can be useful with custom inputs, however you’ll need to account for lowercase/uppercase letters with the .casefold() function. For instance:
activity = input(“What are you doing? “)
if “blender” not in activity.casefold():
print(“no let’s do blender”)
else:
print(“yay me too!”)
For this you can enter “blender” or “Blender” and get the same result!