Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to change case of string in python

a = "Hello, World!"
print(a.upper()) 

#Output: HELLO, WORLD!

print(a.lower()) 
##Output:  hello, world!
 
PREVIOUS NEXT
Tagged: #change #case #string #python
ADD COMMENT
Topic
Name
1+6 =