Truthy value and falsy value
Truthy values are values that evaluate to True in a boolean context. Falsy values are values that evaluate False in a boolean context.
Without 0 any negative and positive numbers are truthy valuable. Anything in the string that includes white space is a truthy value even “0” is…