How do you access data in a linked list? Mainly, I have two specific questions. I'm a beginner in python and just learning linked lists so bear with me if this seems like a stupid question.

1. I have a linked list of nodes where each node is an instance of a class.  

How do I retrieve the node in the linked list with a certain instance attribute = x?
2. I have a linked list of nodes where each node is a dictionary.
How do I search for a node in the linked list with a certain key in Python?

Currently, I am unable to access the information in the node except for printing it using the **str** method.