Skip to content

Commit c975cac

Browse files
authored
function '__init__' miss a 'i'
__int__ should be __init__ i think?
1 parent 95a5331 commit c975cac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/LinkedList/singly_LinkedList.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
class Node: # create a Node
5-
def __int__(self, data):
5+
def __init__(self, data):
66
self.data = data # given data
77
self.next = None # given next to None
88

0 commit comments

Comments
 (0)