about | help | code help+videos | done | prefs |
isGoodMovie
Create the function isGoodMovie() which returns the string "awesome" if the rating is greater than or equal to 7.0 and it has zombies (expressed with a boolean value) in it. It should return "lame" otherwise. isGoodMovie(7.0, True) → 'awesome' isGoodMovie(9.0, False) → 'lame' isGoodMovie(9.9, False) → 'lame' ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy