diff --git a/solutions/count_character.py b/solutions/count_character.py index 415440a85..45d93f78e 100644 --- a/solutions/count_character.py +++ b/solutions/count_character.py @@ -13,7 +13,7 @@ """ -def count_character(input_string: str, character: str): +def count_character(input_string: str, character: str) -> int: """ Counts the number of occurrences of a specific character in a string It will treat capital letters as different characters compared to small letters.