mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-06 18:49:26 +08:00
Precision must be a nonnegative integer (#2013)
* Precision must be a nonnegative integer * fixup! Format Python code with psf/black push Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -106,7 +106,7 @@ class LinkedList:
|
||||
raise IndexError("Index out of range.")
|
||||
current = current.next
|
||||
current.data = data
|
||||
|
||||
|
||||
def __len__(self):
|
||||
"""
|
||||
Return length of linked list i.e. number of nodes
|
||||
|
Reference in New Issue
Block a user