memesearch
Truthiness Function in Python

Truthiness Function in Python

Download Find similar pictures
Text on the meme
def is_truthy(s): return s in ['True', 'true', 'Yes', 'yes', True]
What it means

A Python function checks whether a value represents truth using several textual spellings and the boolean True. The joke is the overly specific, redundant definition of “truthy,” making a simple concept look unnecessarily complicated.

Objects
Tags
Source
Type
image
Size
487×54 · 5.7 KiB
Mood
саркастичный
Language
en
Added