Skip to content

Commit 7e39c41

Browse files
committed
chore: remove commented-out code
1 parent 347b775 commit 7e39c41

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

‎Sprint-2/improve_with_precomputing/count_letters/count_letters.py‎

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
# def count_letters(s: str) -> int:
2-
# """
3-
# count_letters returns the number of letters which only occur in upper case in the passed string.
4-
# """
5-
# only_upper = set()
6-
# for letter in s:
7-
# if is_upper_case(letter):
8-
# if letter.lower() not in s:
9-
# only_upper.add(letter)
10-
# return len(only_upper)
11-
12-
13-
# def is_upper_case(letter: str) -> bool:
14-
# return letter == letter.upper()
15-
161
def count_letters(s: str) -> int:
172
"""
183
count_letters returns the number of letters which only occur in upper case in the passed string.

0 commit comments

Comments
 (0)