Computer Science
What is the output of the following string operation?
str = "My roll no. is 12"
print(str.isalnum())
- True
- False
- Error
- No output
Related Questions
Which method should I use to convert String "Python programming is fun" to "Python Programming Is Fun" ?
Guess the correct output of the following String operations.
str1 = 'Wah' print(str1*2)
Select the correct output of the following String operations.
str1 = 'Waha' print(str1[:3] + 'Bhyi' + str1[-3:])
Select the correct output of the following String operations.
str = "my name is Anu John" print(str.capitalize())