Comment changer le cas de chaîne en python
a = "Hello, World!"
print(a.upper())
#Output: HELLO, WORLD!
print(a.lower())
##Output: hello, world!
Asif Iqbal Paracha
a = "Hello, World!"
print(a.upper())
#Output: HELLO, WORLD!
print(a.lower())
##Output: hello, world!
def swap_string():
s=input()
swapped_string=""
swapped_string+=s.swapcase()
return swapped_string