Computer Science

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

Python String Manipulation

12 Likes

Answer

False True

Answered By

4 Likes


Related Questions