Python ProgrammingPython Programming

How to change a string into uppercase in Python?

x = 'canada'
x = x.upper()

print(x)
Output
CANADA