In this Python string tutorial, you will learn how to convert string to uppercase in Python.
Python
x
# Create a string
S = "Artificial Intelligence"
# Convert string into uppercase
U = S.upper()
# Print uppercase
print(U)
Output:
ARTIFICIAL INTELLIGENCE