Python ke huruf besar
text = "Random String"
text = text.upper() #Can also do
text = upper(text)
print(text)
>> "RANDOM STRING"
Delta Sierra
text = "Random String"
text = text.upper() #Can also do
text = upper(text)
print(text)
>> "RANDOM STRING"
original = Hello, World!
#both of these work
upper = original.upper()
upper = upper(original)
an_uppercase_check = an_upper.isupper()
text = "Random String"
text = text.upper()
print(text)
>> "RANDOM STRING"
# example string
string = "this should be uppercase!"
print(string.upper())
# string with numbers
# all alphabets should be lowercase
string = "Th!s Sh0uLd B3 uPp3rCas3!"
print(string.upper())
# String to Uppercase by Matthew Johnson
myStr = "Dna"
print(myStr.upper())
#OUTPUT: "DNA"