Contact Details
No response
What happened?
The method .find() reports all elements to be present in the Singly Linked Lists even when not present.

Python Version
3.9.12 (default)
What type of operating system are you using?
Windows 10
Relevant log output
llist = SinglyLinkedList()
llist.append(10) # add a new element
# find the new element in the linked list
llist.find("not present") # returns True
Code of Conduct
Contact Details
No response
What happened?
The method

.find()reports all elements to be present in the Singly Linked Lists even when not present..find()method with a mock-up code..next()and.head()method implementation.Python Version
3.9.12 (default)
What type of operating system are you using?
Windows 10
Relevant log output
Code of Conduct