Skip to content

Commit 3de1947

Browse files
committed
Flake 8 fixed
1 parent e92cb2a commit 3de1947

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Notes/3.keywords.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def oper():
105105
# check the object address is same or not If the object address is same it wil return True or return false
106106
# string is immutable( cannot be changed once allocated)
107107
# hence occupy same memory location
108-
print(' ' is ' ')
108+
# print(' ' is ' ')
109109
a=10
110110
b=10
111111
print(a is b)# check the object address is same or not If the object address is same it wil return True or return false

leet code/addtwonumbers.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
from typing import Optional
2+
3+
class ListNode:
4+
def __init__(self, val=0, next=None):
5+
self.val = val
6+
self.next = next
7+
18
class Solution:
29
def addTwoNumbers(self, l1: Optional[ListNode], l2: Optional[ListNode]) -> Optional[ListNode]:
310
head=l1

0 commit comments

Comments
 (0)