# this line will write the code below into a Python script called script.py
%%writefile script.py