Python - Data Types as Values
Which method is used to convert all characters in a string to uppercase in Python?
upper() method converts all characters in a string to uppercase.capitalize() only capitalizes the first character, lower() converts to lowercase, and title() capitalizes the first letter of each word.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions