In [1]:
from __future__ import print_function

In [2]:
print('Hello world!')


Hello world!

Basic function stuff.


In [3]:
def foo(x):
    return 'hello %s whirled' % x

In [4]:
foo('hllo')


Out[4]:
'hello hllo whirled'

In [5]:
foo(2)


Out[5]:
'hello 2 whirled'