【题解】2048 (Merge) (Principles of Computing)
吐槽:做出来了却在论坛发现了更叼的解法。。 题目: https://www.coursera.org/learn/principles-of-computing-1/supplement/1baei/mini-project-description 我的解法: “”” Merge function for 2048 game. “”” def merge(line): “”” Function that merges a single row or column in 2048. “”” result = list(line) length = len(