# CSE 143, Winter 2009, Marty Stepp # Homework 4: Assassin, in Python # # Instructor-provided support class. You should not modify this code! # Each AssassinNode object represents a single node in a linked list # for a game of Assassin. class AssassinNode: # Constructs a new node to store the given name and a reference # to the given next node (None if no next node is passed). def __init__(self, name, next = None): self.name = name # this person's name self.killer = None # name of who killed this person (None if alive) self.next = next # next node in the list (null if none)