def main(): g = Greeter() i = InsultComic() g.speak('Wesley') i.speak('Wesley')
from greeter import Greeter from insult_comic import Insult_Comic if __name__ == '__main__': gr = Greeter() ic = Insult_Comic() gr.speak("Amar") ic.speak("Amar")
def main(): cordial = Greeter() roast = InsultComic() cordial.speak() roast.speak()
from greeter import Greeter from insult_comic import Insult if __name__ == "__main__": gr = Greeter() ins = Insult() gr.speak("Jake") ins.speak("Mike")
def main(): greeter = Greeter() insult = Insult() greeter.speak("Wesley") insult.speak("Wesley")
from greeter import Greeter from insult_comic import InsultComic neww = Greeter() insult = InsultComic() insult.speak("E") neww.speak("ELLIOT")