Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 04e84b9

Browse files
authoredOct 5, 2024··
Update swapcase.py
1 parent 49cdb16 commit 04e84b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎strings/swapcase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"""
1010

1111

12-
def swap_case(input_string) -> str:
12+
def swap_case(input_string : str) -> str:
1313
"""This method will swap the cases of a given string
1414
eg: input: input_string= "Hello" output: swapped_string="hELLO" """
1515
list_representation = list(input_string)

0 commit comments

Comments
 (0)
Please sign in to comment.