diff --git a/B03898_01_codes/B03898_01_01.py b/B03898_01_codes/B03898_01_01.py index 5b1c791..4c6c95c 100644 --- a/B03898_01_codes/B03898_01_01.py +++ b/B03898_01_codes/B03898_01_01.py @@ -10,9 +10,9 @@ def __init__(self, my_greeting): self.my_greeting = my_greeting def say_hello(self, name): - print "%s %s" % (self.my_greeting, name) + print("%s %s" % (self.my_greeting, name)) greeting = Greeting("Hello") greeting.say_hello("World") greeting.say_hello("Dog") -greeting.say_hello("Cat") \ No newline at end of file +greeting.say_hello("Cat")