'''
lect09_1.py - a simple module with a data attribute and a function attribute
adapted from pp. 173-174, "Learning Python"
adapted by: Sharon M. Tuttle
last modified: 10-24-06
'''
spam = 40
def square(val):
'return the square of the <val> passed to it'
return val ** 2