Let's write a lie detector program! The program should take a string as an input, convert it to a boolean value, and print it as the result.
Input: String.
Output: Boolean value.
Let's write a lie detector program! The program should take a string as an input, convert it to a boolean value, and print it as the result.
Input: String.
Output: Boolean value.
Sample Input 1:
0Sample Output 1:
falseSample Input 2:
tRUeSample Output 2:
trueCreate a free account to access the full topic