Python, Python Programming, Programming.
if block will be executed. if 5: # 5 is a truthy value print("This will be printed") Falsey values in Python include 0, None, an empty string “ ”, an empty list [] and an empty dictionary { }. In this example below, the if statement evaluates 0 as a falsey value, so the code inside the if block