CBSE Class 11 Computer Science Question 20 of 91

String Manipulation — Question 10

Back to all questions
10
Question

Question 10

What is the output of the following code?

str1 = "Mission 999"
str2 = "999"
print(str1.isdigit(),str2.isdigit())
  1. False True ✓
  2. False False
  3. True False
  4. True True
Answer