We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a90306a + 8394863 commit ac08c80Copy full SHA for ac08c80
src/hackerrank/interview_preparation_kit/string_manipulation/alternating_characters.py
@@ -2,7 +2,7 @@
2
# @link Problem definition [[docs/hackerrank/interview_preparation_kit/string_manipulation/alternating-characters.md]] # noqa
3
# pylint: enable=line-too-long
4
5
-def alternating_characters(word: str):
+def alternating_characters(word: str) -> int:
6
7
last: str = ''
8
new_string: str = ''
0 commit comments