카타 8급 Pre-FizzBuzz Workout #1

PHP[ | ]

function pre_fizz($n) {
  return range(1, $n);
}
function pre_fizz($n) {
  $a = [];
  for($i=1; $i<=$n; $i++) $a[] = $i;
  return $a;
}
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}