File tree 2 files changed +5
-4
lines changed
data_structures/linked_list
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 295
295
* [ Add] ( https://github.com/TheAlgorithms/Python/blob/master/maths/add.py )
296
296
* [ Aliquot Sum] ( https://github.com/TheAlgorithms/Python/blob/master/maths/aliquot_sum.py )
297
297
* [ Allocation Number] ( https://github.com/TheAlgorithms/Python/blob/master/maths/allocation_number.py )
298
+ * [ Area] ( https://github.com/TheAlgorithms/Python/blob/master/maths/area.py )
298
299
* [ Area Under Curve] ( https://github.com/TheAlgorithms/Python/blob/master/maths/area_under_curve.py )
299
300
* [ Armstrong Numbers] ( https://github.com/TheAlgorithms/Python/blob/master/maths/armstrong_numbers.py )
300
301
* [ Average Mean] ( https://github.com/TheAlgorithms/Python/blob/master/maths/average_mean.py )
Original file line number Diff line number Diff line change 1
- class Node : # create a Node
1
+ class Node :
2
2
def __init__ (self , data ):
3
- self .data = data # given data
4
- self .next = None # given next to None
3
+ self .data = data
4
+ self .next = None
5
5
6
- def __repr__ (self ): # string representation of a Node
6
+ def __repr__ (self ):
7
7
return f"Node({ self .data } )"
8
8
9
9
You can’t perform that action at this time.
0 commit comments