In [5]:
%xmode plain
In [16]:
first_name = "Zaphod"
def hello(name):
"""Say hello"""
print "Hello, {}".format(name)
def hello_multi(name, greeting_mult=1):
"""Say hello gratuitously"""
greeting_count = 3 * greeting_mult
for num in range(greeting_count):
hello(name)
return greeting_count
hello(first_name)
gc = hello_multi("Startibartfast")
In [17]:
del(first_name)
print hello(first_name)
In [18]:
del(hello)
print hello_multi("Startibartfast")