0 out of 464 challenges solved
Write a Python function `count_true_booleans(lst)` that takes a list of boolean values and returns the count of `True` values in the list. #### Example Usage: ```python [main.nopy] print(count_true_booleans([True, False, True])) # Output: 2 print(count_true_booleans([False, False])) # Output: 0 print(count_true_booleans([True, True, True])) # Output: 3 ``` #### Constraints: - The input list will only contain boolean values (`True` or `False`).
def count_true_booleans(lst): """ Count the number of True values in the given list of booleans. Args: lst (list): A list containing boolean values. Returns: int: The count of True values in the list. """ # Placeholder for the solution pass