In this week's lecture, we were talking about the application of Tower of Hanoi in Python. Also, we learned about scopes and namespaces. I believe that most of people are familiar with this game. Base on this reason, when we were talking about completing the code of Hanoi during the class, we were easy to understand the change of source, intermediate and destination.
In the lab, we also practiced the problem of recursion. I think this lab was more challenge than previous lab, because I cannot finish all the tasks with my partner ontime. I tried to ask TA for help, but I think we do not understand the recursion clearly enough. I will do more practice about recursion this week for a good preparation of Assignment 1.
没有评论:
发表评论