id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

timggc@ggc.edu > isGoodMovie
prev  |  next  |  chance

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)

def isGoodMovie(rating,zombie):

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