str.isdigit()
NA
#!/usr/bin/python3 str = "123456"; # Only digit in this string print (str.isdigit()) str = "this is string example....wow!!!" print (str.isdigit())
True False