To convert a string into uppercase you can use str.upper() function:-
s = 'sdsd'
s.upper()
We have another method to convert a string into an upper case which is string.ascii_uppercase is a string containing all ASCII letters in uppercase:
import string
String.ascii_uppercase
To know more about this you can have a look at the following video tutorial:-