Skip to content

Commit 88d92d2

Browse files
authored
Update multiply-strings.py
1 parent 281141b commit 88d92d2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Python/multiply-strings.py

-4
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ def multiply(self, num1, num2):
3535
result[i+j] += int(num1[i])*int(num2[j])
3636
result[i+j+1] += result[i+j]//10
3737
result[i+j] %= 10
38-
39-
for i in reversed(xrange(len(result))):
40-
if result[i]:
41-
break
4238
for i in reversed(xrange(len(result))):
4339
if result[i]:
4440
break

0 commit comments

Comments
 (0)