Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 7 Online
OpenStudy (anonymous):

hey i am facing a problem in problem set 6 problem no. 5 here z my code http://pastebin.com/3w7BkzR9 the grader gives an error "TitleTrigger shouldn't define an __init__ method; it should inherit it from WordTrigger" plz help me correct the code

OpenStudy (turingtest):

do exactly what it says; take out the __init__ part and the line following and that class will inherit the self and word attributes from WordTrigger

OpenStudy (anonymous):

class TitleTrigger(WordTrigger) line automatically inherit TitleTrigger from WordTrigeer.....

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!