38.3k views
4 votes
Which of the following are valid values for a boolean value in programming? (Select all that apply)

'f'
false
+
-
't'
true
0
1

1 Answer

5 votes

Answer:

false, true

Step-by-step explanation:

Boolean values can be represented by just 1 bit in a computer. These can be stored as 1 or 0. In Python you use the True and False keywords to refer to these.

User Badp
by
8.1k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.