Skip to content

Commit 296d27b

Browse files
authored
Update 043._multiply_strings.md
1 parent 7a29f78 commit 296d27b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Leetcode_Solutions/043._multiply_strings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Solution(object):
3939
res[i] = tmp_res[i] % 10
4040
if i < len(num1)+len(num2)-1:
4141
tmp_res[i+1] += tmp_res[i]/10
42-
return ''.join(str(i) for i in res[::-1]).lstrip('0') 去掉最终结果头部可能存在的‘0
42+
return ''.join(str(i) for i in res[::-1]).lstrip('0') # 去掉最终结果头部可能存在的‘0’
4343
```
4444

4545
觉得这样写才是最容易理解的,看一个具体的🌰:

0 commit comments

Comments
 (0)