Quick actions

cmd+k|ctrl+k

Navigation

Languages

02 - Ex 02

Snippet info

Language

Python

Visibility

public

Author

vovanthinh2312

Created

2016-10-20T09:52:39Z

Updated

2016-10-20T12:02:02Z

#Cho string s, tạo ra s1 trong đó các ký tự thường->HOA, HOA->thường.
s = 'Abc XyZ'
s1 = s.swapcase()
print('s = {0}\ns1 = {1}'.format(s,s1))
INFO