1text = "Random String"
2text = text.upper() #Can also do
3text = upper(text)
4print(text)
5
6>> "RANDOM STRING"
1original = Hello, World!
2
3#both of these work
4upper = original.upper()
5upper = upper(original)
1my_string = "this is my string"
2print(my_string.upper())
3# output: "THIS IS MY STRING"