title: Program Check Input Integer String
signature: program_check_input_integer_string <- function(s) {
test_code: 
  
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  validate_solution <- function(actual, expected) {
      toString(actual)==toString(expected)
  }
  
  driver <- function(s, expected){
      if (validate_solution(PLACEHOLDER_FN_NAME(s), expected)){
          "PASSED"
      } else{
          "FAILED"
      }
  }
  
  main <- function() {
      cat(sprintf("TEST-0...%s\n",driver(
          "MgTOyHo NT", 
          FALSE
      )))
  
      cat(sprintf("TEST-1...%s\n",driver(
          "033675175", 
          TRUE
      )))
  
      cat(sprintf("TEST-2...%s\n",driver(
          "011001", 
          TRUE
      )))
  
      cat(sprintf("TEST-3...%s\n",driver(
          "XLlccG", 
          FALSE
      )))
  
      cat(sprintf("TEST-4...%s\n",driver(
          "8223900094410", 
          TRUE
      )))
  
      cat(sprintf("TEST-5...%s\n",driver(
          "000", 
          TRUE
      )))
  
      cat(sprintf("TEST-6...%s\n",driver(
          "aupp", 
          FALSE
      )))
  
      cat(sprintf("TEST-7...%s\n",driver(
          "90202721499", 
          TRUE
      )))
  
      cat(sprintf("TEST-8...%s\n",driver(
          "110000100011", 
          TRUE
      )))
  
      cat(sprintf("TEST-9...%s\n",driver(
          "MhYHsMQeLhG", 
          FALSE
      )))
  
  }
  
  main()
source_py: def program_check_input_integer_string(s):
      for i in range(len(s)):
          if (s[i].isdigit() != True):
              return False
      return True
source_cpp: bool program_check_input_integer_string(string s) {
    for ( int i = 0;
    i < s . length ( );
    i ++ ) if ( isdigit ( s [ i ] ) == false ) return false;
    return true;
  }