input: Write a function to calculate the perimeter of a square.
  assert square_perimeter(10) == 40
  assert square_perimeter(5) == 20
  assert square_perimeter(4) == 16
output: def square_perimeter(side_length):
      return 4 * side_length