8000 Total Runtime: 436 ms · michaelhuang/LintCode_Python@59269c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 59269c3

Browse files
committed
1 parent 2f5d48c commit 59269c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Add_Two_Numbers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def addLists(self, l1, l2):
3535
l = l.next
3636
point = point.next
3737

38-
if carry <> 0:
38+
if carry != 0:
3939
point.next = ListNode(carry)
4040

4141
return head.next

0 commit comments

Comments
 (0)
0