# 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.

Examples:

```
>>> convert_bool_to_binary(True)
1
>>> convert_bool_to_binary(False)
0
```

Define a function `convert_bool_to_binary`

that receives a boolean and returns

`1`

if it is true and `0`

if it is false.

Examples:

```
>>> convert_bool_to_binary(True)
1
>>> convert_bool_to_binary(False)
0
```