forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice > isYoung
prev  |  next  |  chance

Create a function that returns "young" if age is less than or equal to 21. It should return "still young" otherwise.

isYoung(21) → 'young'
isYoung(22) → 'still young'
isYoung(16) → 'young'

...Save, Compile, Run (ctrl-enter)

def isYoung(age):

Editor font size %:
Shorter output

Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Copyright Nick Parlante 2017 - privacy