Answers for "convert set elements to uppercase python"

9

how do you change a string to only uppercase in python

original = Hello, World!

#both of these work
upper = original.upper()
upper = upper(original)
Posted by: Guest on March-12-2020
1

how to convert lower case to upper case in python

a = "Hello, World!"
print(a.upper())
#output: HELLO, WORLD!
Posted by: Guest on December-22-2021

Code answers related to "convert set elements to uppercase python"

Python Answers by Framework

Browse Popular Code Answers by Language