Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3de1947

Browse files
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)

AltStyle によって変換されたページ (->オリジナル) /