Q. What is the output of the following code?
Code:
print('python'.upper())
β
Correct Answer: (A)
PYTHON
Explanation: The upper() method converts all characters in the string to uppercase.