将字符串数字转化为数字相加再返回结果 num1='123'num2 = '1023'cur=0car = 0res=0if len(num1) num1,num2=num2,num1l1 = len(num1)l2 = len(num2)j =l1-1i = 0r=''if l1>l2: for i in range(len(num1)-len(num2)): leetcode 2023-08-25 54 点赞 0 评论 81 浏览