Advertisement
Guest User

Untitled

a guest
May 28th, 2015
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. def __str__(self):
  2. return "Name: {0}\tAnd: {1}\tOr: {2}\tPossible_Path: {3}\tColor: {4}".format(self.name,self.and_dep,self.or_dep,self.possible_path,self.color)
  3.  
  4. def __repr__(self):
  5. return str(self.name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement