Vidyalelo
Python · Q30

MCQs for Python Strings: Exam

Programming · Python · question 30

Q30

In Python, how can you check if a string contains only numeric characters?

A.
isnumeric()
B.
isnumber()
Answer
C.
isdigit()
D.
numeric()

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board