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

def operate(): # add your arguments!
    lsdakfjasldkjf
    lsdkfjsldkjf

EOF

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

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

EOF

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

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

EOF

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

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

EOF

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

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

EOF