Computer Science
What is the output of the following code?
str1 = "Mission 999"
str2 = "999"
print(str1.isdigit(),str2.isdigit())
- False True
- False False
- True False
- True True
Related Questions
Which of the following functions will return a list containing all words of the string?
Which of the following functions will always return a tuple of 3 elements?
Choose the correct function to get the ASCII code of a character.
Which method should I use to convert String "Python programming is fun" to "Python Programming Is Fun" ?