perimeter of squares
摘要:
def perimeter(): n = 5nL = [1,1,]if n == 0: return 0if n == 1: return 1 * 4if n == 2: return 2 * 4rl = [nL.append(nL[i]+nL[i-1]) for i in range(1, n)] 阅读全文
posted @ 2017-07-12 15:27 run_qin 阅读(134) 评论(0) 推荐(0) 编辑