Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def truthy_or_falsy(value):
- string = "The value {} is {}"
- decide = input("Pleas Enter Truthy or Falsy: ")
- result = string.format(value, decide)
- return result
- print(truthy_or_falsy(0))
- print(truthy_or_falsy(5))
- print(truthy_or_falsy("Hello"))
- print(truthy_or_falsy(""))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement