I want to change Python code to Java code. What should I do?

后端 未结 0 1493
离开以前
离开以前 2020-11-22 14:19
def mult(answer, num):
i, maxlen, carry = 0, len(answer), 0
while i < maxlen:
temp = num*int(answer[i])+carry
answer[i] = str(temp%10)
carry = temp//10
i += 1
if          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题