HackerRank- Python Swap Case
Given a string and your task is to swap cases. In other words, convert all lowercase letters to uppercase letters and vice versa.
x = ""
for let in s:
if let.isupper() == True:
if __name__ == '__main__':
s = input()
result = swap_case(s)
Please click on the like button if it worked
Solution not working or have any suggestions? Please send an email to [email protected]
donate a cup of tea :)
Join Our Facebook Group
Popular HackerRank Python Solutions
Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more.
Sign Up for our weekly newsletter to get update about new content.