title: Python Program Find Perimeter Circumference Square Rectangle 1
signature: function python_program_find_perimeter_circumference_square_rectangle_1(l, w)
test_code: using Printf
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  function validate_solution(actual, expected)
      return actual == expected
  end
  
  function driver(l, w, expected)
      try
  
          if validate_solution(PLACEHOLDER_FN_NAME(l, w), expected)
              return "PASSED";
          end
          return "FAILED";
      catch exception_obj
          return string(Base.typename(typeof(exception_obj)).wrapper);
      end
  end
  
  function main()
      
      result = driver(58, 39, 194);
      @printf("TEST-0...%s\n",result);
      
      result = driver(37, 49, 172);
      @printf("TEST-1...%s\n",result);
      
      result = driver(56, 52, 216);
      @printf("TEST-2...%s\n",result);
      
      result = driver(22, 43, 130);
      @printf("TEST-3...%s\n",result);
      
      result = driver(77, 12, 178);
      @printf("TEST-4...%s\n",result);
      
      result = driver(34, 31, 130);
      @printf("TEST-5...%s\n",result);
      
      result = driver(74, 54, 256);
      @printf("TEST-6...%s\n",result);
      
      result = driver(37, 52, 178);
      @printf("TEST-7...%s\n",result);
      
      result = driver(21, 37, 116);
      @printf("TEST-8...%s\n",result);
      
      result = driver(75, 30, 210);
      @printf("TEST-9...%s\n",result);
      
  end
  
  main()
source_py: def python_program_find_perimeter_circumference_square_rectangle_1(l, w):
      return (2 * (l + w))
source_cpp: int python_program_find_perimeter_circumference_square_rectangle_1(int l, int w) {
    return ( 2 * ( l + w ) );
  }