12th Class Computers Science Sample Paper Python Revision Tour-Sample Paper-2

  • question_answer
    Which function is used to check whether the string contains a digit or not.

    A) digit()               

    B) todigit()

    C) isdigit()    

    D) None of the above

    Correct Answer: C

    Solution :

    [c] isdigit() function is used to check whether the string contains a digit or not.            


You need to login to perform this action.
You will be redirected in 3 sec spinner