Solutions will be available when this assignment is resolved, or after a few failing attempts.
Time is over! You can keep submitting you assignments, but they won't compute for the score of this quiz.
Convert boolean to binary
Define a function
convert_bool_to_binary that receives a boolean and returns
1 if it is true and
0 if it is false.
>>> convert_bool_to_binary(True) 1 >>> convert_bool_to_binary(False) 0