title: how to code linked list in python with multiple variables
body: <p>I am kind of new to python. My background is more in Java and C++. I'm trying to create a linked list with multiple variables. I know it can be done in Java and C++ but im not sure how to set it up with python. Now i have code that I have found on other websites that work with a single variable but i need it to hold several pieces of information. what i currently have now is:</p>
  
  <pre><code> class Node:
       def __init__(self, cargo=None, next=None):
           self.cargo = cargo
           self.next  = next
  
       def __str__(self):
           return str(self.cargo)
  </code></pre>
  
  <p>This is OK but i need more info then this. With C++ i could put as many variables as i wanted in the struct. can someone please advise my on what i need to change about this so that i can use many pieces of data. for example: movie title, Rating, Genre, ect. (not the project just the example). The goal of the project to to compare two very very large list to each other. or maybe someone has a more efficient way of doing this. I would love to hear about it.</p>
  
  <p>thanks in advance   </p>