title: Python Program Find Perimeter Circumference Square Rectangle 1
signature: pythonProgramFindPerimeterCircumferenceSquareRectangle1(l, w) {
test_code: import 'dart:convert';
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  bool validateSolution(int actual, int expected){
      return actual.toString() == expected.toString();
  }
  
  String driver(l, w, int expected){
      try
      {
          if (validateSolution(PLACEHOLDER_FN_NAME(l, w), expected)){
              return "PASSED";
          }
          return "FAILED";
      }catch(exception_object){
          return exception_object.runtimeType.toString();
      }
  }
  
  int main() {
  
      print("TEST-0...${driver(
          58, 39, 
          194)
      }");
  
      print("TEST-1...${driver(
          37, 49, 
          172)
      }");
  
      print("TEST-2...${driver(
          56, 52, 
          216)
      }");
  
      print("TEST-3...${driver(
          22, 43, 
          130)
      }");
  
      print("TEST-4...${driver(
          77, 12, 
          178)
      }");
  
      print("TEST-5...${driver(
          34, 31, 
          130)
      }");
  
      print("TEST-6...${driver(
          74, 54, 
          256)
      }");
  
      print("TEST-7...${driver(
          37, 52, 
          178)
      }");
  
      print("TEST-8...${driver(
          21, 37, 
          116)
      }");
  
      print("TEST-9...${driver(
          75, 30, 
          210)
      }");
  
      return 0;
  }
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 ) );
  }