DEV Community

loading...

Discussion on: Daily Challenge #281 - Area or Perimeter

Collapse
rafaacioly profile image
Rafael Acioly
return a * b if a == b else 2 * (a + b)

:)