Skip to content

Commit

Permalink
Update solutions/count_character.py
Browse files Browse the repository at this point in the history
Co-authored-by: Obay Salih <[email protected]>
  • Loading branch information
Mo-Altayeb and ObayCipher authored Jan 12, 2025
1 parent da9d36e commit 0ff2530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solutions/count_character.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0ff2530

Please sign in to comment.