Skip to content

Commit cf1f07e

Browse files
swap case added
1 parent 26ca6c5 commit cf1f07e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Strings/sWAP cASE/Solution.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
def swap_case(s):
2+
return s.swapcase()
3+
4+
5+
if __name__ == '__main__':
6+
s = input()
7+
result = swap_case(s)
8+
print(result)

0 commit comments

Comments
 (0)