input: Write a function to determine the perimeter of a regular polygon.
  assert calculate_perimeter(4,20) == 80
  assert calculate_perimeter(10,15) == 150
  assert calculate_perimeter(9,7) == 63
output: def calculate_perimeter(num_sides, side_length):
      return num_sides * side_length