title: Python Program Find Perimeter Circumference Square Rectangle 1
signature: function pythonProgramFindPerimeterCircumferenceSquareRectangle1($l, $w) {
test_code: <?php
  
  
  // SOLUTION CODE 
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  function validateSolution($actual, $expected){
      return serialize($actual) == serialize($expected);
  }
  
  function driver($l, $w, $expected){
      try{
        if (validateSolution(PLACEHOLDER_FN_NAME($l, $w), $expected)){
          return "PASSED";
        }
        return "FAILED";
      }
      catch (Exception $exception_obj) {
        return get_class($exception_obj);
      }
  }
  
  function main(){
      printf("TEST-0...%s\n",driver(
        58, 39, 
        194));
      
      printf("TEST-1...%s\n",driver(
        37, 49, 
        172));
      
      printf("TEST-2...%s\n",driver(
        56, 52, 
        216));
      
      printf("TEST-3...%s\n",driver(
        22, 43, 
        130));
      
      printf("TEST-4...%s\n",driver(
        77, 12, 
        178));
      
      printf("TEST-5...%s\n",driver(
        34, 31, 
        130));
      
      printf("TEST-6...%s\n",driver(
        74, 54, 
        256));
      
      printf("TEST-7...%s\n",driver(
        37, 52, 
        178));
      
      printf("TEST-8...%s\n",driver(
        21, 37, 
        116));
      
      printf("TEST-9...%s\n",driver(
        75, 30, 
        210));
      
  }
  
  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 ) );
  }