Robotics & Artificial Intelligence
The method used to convert all characters of a string in upper case is …………… .
- toupper()
- upper()
- capital()
- case()
Python String Manipulation
1 Like
Answer
upper()
Reason — The upper() function converts all the characters of the input string into uppercase.
Answered By
1 Like
Related Questions
The tolower() method is used to convert all letters of a string into small letters.
The operator used to join two or more strings is …………… .
- +
- -
- *
- None of these
The method used to count the number of characters in a string is …………… .
- length()
- len()
- count()
- None of these
The method used to check that string contains all lower case letter is …………… .
- lower()
- small()
- issmall()
- islower()