DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to convert uppercase to lowercase and vice versa in python
def swap_string(): s=input() swapped_string="" swapped_string+=s.swapcase() return swapped_string
Source by www.onlinegdb.com #
PREVIOUS
NEXT
Tagged:
#convert
#uppercase
#lowercase
#vice
#versa
#python
ADD COMMENT
Topic
COMMENT
Name
9+9 =
Submit