Why in Boolean "True and False" is right answer but "true and false" is wrong ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why in Boolean "True and False" is right answer but "true and false" is wrong ?

Why this thing happened ?

9th Aug 2019, 12:41 PM
ayan sinha
ayan sinha - avatar
1 Answer
+ 5
Boolean values - 'True, False' are case sensitive based on the language, as they are keywords/ Reserved words. In C++ - true, false are supported bool values. In Python - True, False are supported bool values.
9th Aug 2019, 1:24 PM
Kuri
Kuri - avatar