赞
踩
def func(A, K):
s = ''
dp = []
for i in A:
s += str(i)
res = str(int(s) + K)
for j in res:
dp.append(int(j))
return dp
print(func(A = [9, 9, 9, 9, 9, 9, 9, 9, 9, 9], K = 1))
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。