title: Python Program Find Perimeter Circumference Square Rectangle 1
signature: func pythonProgramFindPerimeterCircumferenceSquareRectangle1(l int, w int) int {
test_code: package main
  
  import (
      "fmt"
      "reflect"
      "math"
      "sort"
  )
  
  // SOLUTION CODE
  // ===================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE
  // ===================================
  func validateSolution(actual int, expected int) bool {
      return reflect.DeepEqual(actual,expected)
  }
  
  func driver(l int, w int, expected int) string {
      if validateSolution(PLACEHOLDER_FN_NAME(l, w),expected) {
              return "PASSED"
      }
      return "FAILED"
  
  }
  
  func main() {
  
      // Use imports to avoid undefined errors
      var _ = reflect.DeepEqual
      _ = math.Abs
      _ = sort.Sort
      result := ""
      result = driver(58, 
  	39, 194)
      fmt.Printf("TEST-0...%s\n", result)
      
      result = driver(37, 
  	49, 172)
      fmt.Printf("TEST-1...%s\n", result)
      
      result = driver(56, 
  	52, 216)
      fmt.Printf("TEST-2...%s\n", result)
      
      result = driver(22, 
  	43, 130)
      fmt.Printf("TEST-3...%s\n", result)
      
      result = driver(77, 
  	12, 178)
      fmt.Printf("TEST-4...%s\n", result)
      
      result = driver(34, 
  	31, 130)
      fmt.Printf("TEST-5...%s\n", result)
      
      result = driver(74, 
  	54, 256)
      fmt.Printf("TEST-6...%s\n", result)
      
      result = driver(37, 
  	52, 178)
      fmt.Printf("TEST-7...%s\n", result)
      
      result = driver(21, 
  	37, 116)
      fmt.Printf("TEST-8...%s\n", result)
      
      result = driver(75, 
  	30, 210)
      fmt.Printf("TEST-9...%s\n", result)
      
          
  }
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 ) );
  }