title: Python Program Find Perimeter Circumference Square Rectangle 1
signature: fun pythonProgramFindPerimeterCircumferenceSquareRectangle1(l: Int, w: Int): Int {
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 ) );
  }
question_info.test_list: [{"idx": 0, "outputs": 194, "inputs": {"l": 58, "w": 39}}, {"idx": 1, "outputs": 172, "inputs": {"l": 37, "w": 49}}, {"idx": 2, "outputs": 216, "inputs": {"l": 56, "w": 52}}, {"idx": 3, "outputs": 130, "inputs": {"l": 22, "w": 43}}, {"idx": 4, "outputs": 178, "inputs": {"l": 77, "w": 12}}, {"idx": 5, "outputs": 130, "inputs": {"l": 34, "w": 31}}, {"idx": 6, "outputs": 256, "inputs": {"l": 74, "w": 54}}, {"idx": 7, "outputs": 178, "inputs": {"l": 37, "w": 52}}, {"idx": 8, "outputs": 116, "inputs": {"l": 21, "w": 37}}, {"idx": 9, "outputs": 210, "inputs": {"l": 75, "w": 30}}]
question_info.extension: kts
question_info.test_code: package main
  
  import kotlin.text.*
  import kotlin.math.*
  
  
  // SOLUTION CODE
  // ===================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE
  // ===================================
  fun validateSolution(actual:Int, expected:Int):Boolean{
    return actual.equals(expected)
  }
  fun driver(l: Int, w: Int, expected:Int):String {
      try{
        if (validateSolution(PLACEHOLDER_FN_NAME(l, w), expected)) {
                return "PASSED"
        }
        return "FAILED"
      } catch (e: Exception){
        return e::class.simpleName as String
      }
  
  }
  
  fun main() {
      var result: String = ""
      result = driver(58, 39, 194)
      println("TEST-0...${result}")
      
      result = driver(37, 49, 172)
      println("TEST-1...${result}")
      
      result = driver(56, 52, 216)
      println("TEST-2...${result}")
      
      result = driver(22, 43, 130)
      println("TEST-3...${result}")
      
      result = driver(77, 12, 178)
      println("TEST-4...${result}")
      
      result = driver(34, 31, 130)
      println("TEST-5...${result}")
      
      result = driver(74, 54, 256)
      println("TEST-6...${result}")
      
      result = driver(37, 52, 178)
      println("TEST-7...${result}")
      
      result = driver(21, 37, 116)
      println("TEST-8...${result}")
      
      result = driver(75, 30, 210)
      println("TEST-9...${result}")
      
          
  }
  
  main()
question_info.entry_fn_name: pythonProgramFindPerimeterCircumferenceSquareRectangle1
question_info.entry_cls_name: Solution
question_info.test_case_ids: 0 1 2 3 4 5 6 7 8 9
question_info.commands: kotlinc -script __FILENAME__ -no-reflect -nowarn