Source

articles_code / picloud_article / publish_square.py

Full commit
1
2
3
4
def square(x):
    """Returns square of a number"""
    print 'Squaring %d' % x
    return x*x