def power(x,n): y = 1 for i in list(range(n)): y = y * x return y
这个程序里面,n并没有直接表达出与y*x的关系啊。
Sign in to make a reply
猪头斐