Python Programming Exercises,
Gently Explained
94
# Draw bottom lie on front surface:
print(____ + ____ * (size * 2) + ____)
# In a loop, call drawBox() with arguments 1 to 5:
for i in range(1, 6):
drawBox(i)
The complete solution for this exercise is given in Appendix A and
https://invpy.com/boxdrawing.py.
You can view each step of this program as it
runs under a debugger at https://invpy.com/boxdrawing-
debug/.
Dostları ilə paylaş: