Chalenge of this lecture

The chalenge slide said to us to make the program print whether the boolean returns true or false by text. That should be done using “boolalpha” to convert the possible “1” or “0” to text?
I tried that way, but boolalpha isn’t compatible with return as the teacher used on the video. Was it just a try to see if the boolean was working properly?

Privacy & Terms