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
3.9k points