Are they the "same"? Coding solution - CODEWARS

Published --