xxxxxxxxxx
text = "Random String"
text = text.upper() #Can also do
text = upper(text)
print(text)
>> "RANDOM STRING"
xxxxxxxxxx
# plz suscribe to my youtube channel -->
# https://www.youtube.com/channel/UC-sfqidn2fKZslHWnm5qe-A
Text = "python is easy"
print(Text.isupper())
xxxxxxxxxx
original = Hello, World!
#both of these work
upper = original.upper()
upper = upper(original)
xxxxxxxxxx
my_string = "this is my string"
print(my_string.upper())
# output: "THIS IS MY STRING"
xxxxxxxxxx
# String to Uppercase by Matthew Johnson
myStr = "Dna"
print(myStr.upper())
#OUTPUT: "DNA"