title: Python Program Find Perimeter Circumference Square Rectangle
signature: function pythonProgramFindPerimeterCircumferenceSquareRectangle(a) {
test_code: 
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  function convertToString(value) {
      return JSON.stringify(value, function (key, val) {
          if (val instanceof Set) {
              return Array.from(val);
          } return val;});
  }
  
  function validateSolution(actual, expected){
      return convertToString(actual)===convertToString(expected);
  }
  
  function driver(a, expected){
      try{
          if (validateSolution(PLACEHOLDER_FN_NAME(a),expected)){
              return "PASSED";
          }
          return "FAILED";
      } catch (error) {
        return error.name;
      }
      
  }
      
  function main(){
    let result = '';
    result = driver(98, 392);
    console.log(`TEST-0...${result}`);
  
    result = driver(9, 36);
    console.log(`TEST-1...${result}`);
  
    result = driver(18, 72);
    console.log(`TEST-2...${result}`);
  
    result = driver(38, 152);
    console.log(`TEST-3...${result}`);
  
    result = driver(84, 336);
    console.log(`TEST-4...${result}`);
  
    result = driver(8, 32);
    console.log(`TEST-5...${result}`);
  
    result = driver(39, 156);
    console.log(`TEST-6...${result}`);
  
    result = driver(6, 24);
    console.log(`TEST-7...${result}`);
  
    result = driver(60, 240);
    console.log(`TEST-8...${result}`);
  
    result = driver(47, 188);
    console.log(`TEST-9...${result}`);
  
    process.exit(0);
  };
  
  if (require.main === module) {
    main();
  }
source_py: def python_program_find_perimeter_circumference_square_rectangle(a):
      return (4 * a)
source_cpp: int python_program_find_perimeter_circumference_square_rectangle(int a) {
    return 4 * a;
  }