DEV Community

Discussion on: Daily Challenge #138 - Keep Up the Hoop

Collapse
 
nickyoung profile image
Nick Young

PHP

<?php

function hoop_count( $n ) {
   return ( $n < 10 ) ? 'Keep at it until you get it' : 'Great, now move on to tricks';
}