Q. Which method converts a string to uppercase?
Solution:
The upper() method converts all characters to uppercase, e.g., ‘python’ becomes ‘PYTHON’.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
The upper() method converts all characters to uppercase, e.g., ‘python’ becomes ‘PYTHON’.
Strengthen Your Practice with our comprehensive question bank.