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

 

getToGraduate


You go to super-duper college, where you graduate only if you receive an 'A' or 'B' is your Chemistry and Programming classes. Create a method that returns "true" if the grade for Chemistry and Programming is 'A' or 'B'. This method should return a false if otherwise.


getToGraduate('A', 'B') → True
getToGraduate('A', 'C') → False
getToGraduate('B', 'B') → True

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

def getToGraduate(chem,prog):

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