You will want to make an account on CodingBat. Please use your Hendrix email as your account email.
Please also keep up with your own password – there is no way for me to recover it for you!
Be sure to share your progress with me, by going to “prefs” and entering
your instructor’s email address (yorgey@hendrix.edu
) in the “Teacher Share” box.
Turn in your by-hand tracing for each section of code shown below,
using the format we learned in class. You are strongly encouraged to
check your answers by typing the code into a Python interpreter
(i.e. Kaggle). Your by-hand work should show the updating of values as
necessary.
1.
x = 7
y = 2
x = y - 3
z = x + y ** 3
2.
a = 2
b = a + 4
a = a + 3
if a == a + 3:
c = 7
a = 1
else:
c = a * b
b = 10