mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-01-18 16:27:02 +00:00
function '__init__' miss a 'i'
__int__ should be __init__ i think?
This commit is contained in:
parent
95a5331162
commit
c975cac371
|
@ -2,7 +2,7 @@ from __future__ import print_function
|
|||
|
||||
|
||||
class Node: # create a Node
|
||||
def __int__(self, data):
|
||||
def __init__(self, data):
|
||||
self.data = data # given data
|
||||
self.next = None # given next to None
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user