In [2]:
%%sh
cat << EOF > hw2_answers.py

def operate(): # add your arguments!
    pass # replace this line with your code for question 1

EOF

In [3]:
%%sh
cat << EOF >> hw2_answers.py

def fib(): # add your arguments!
    pass # replace this line with your code for question 2

EOF

In [4]:
%%sh
cat << EOF >> hw2_answers.py

def encode(): # add your arguments!
    pass # replace this line with your code for question 3

EOF

In [5]:
%%sh
cat << EOF >> hw2_answers.py

def get_n(): # add your arguments!
    pass # replace this line with your code for question 4

EOF

In [6]:
%%sh
cat << EOF >> hw2_answers.py

def describe(): # add your arguments!
    pass # replace this line with your code for question 5

EOF