Pour monter dans le grand huit, il faut mesurer au moins 120 cm. Écris CanRide(height) : renvoie true si la taille (en cm) suffit, false sinon. 120 pile, ça passe.
CanRide(130)→TrueCanRide(119)→Falsefunc CanRide(height int) boolpackage main
func CanRide(height int) bool {
// ton code ici: assez grand (120 ou plus)? renvoie true
return false
}
Exécuter teste les exemples. Quand ils sont bons, appuie sur Envoyer.