This is the core notebook.
say_hello("Sergi")
test_eq(say_hello("Guillem"), "hello Guillem")
assert say_hello("Joana") == "hello Joana"
class hiSayer:
"Dumb class that spams hi to someone"
def __init__(self,to):
self.to = to
def say(self):
"Calls function say_hello to say hello"
return say_hello(self.to)
hiSayer
says hi to whoever we want with the method say
sayer = hiSayer('Alex')
sayer.say()