get it on google playCreated with Sketch.
Python> True

True

There's a special value that's neither a string nor a number: True.

There are no quotes around it, and it's not a numeric value.

True is great for situations like checking if a feature is on or if data is available. We can see it here when we set powered_on to True.

powered_on = True

We can store True in a variable just like a string or a number. Displaying it also works the same, like when we display correct here.

correct = True
print(correct)
TRY IT ON THE APP