class Pokemon: """Pokemon class for representing and manipulating Pokemon""" def __init__(self, name, number, attack_points): """A constructor method that sets the name, number, and combat points""" self.name = name self.number = number self.combat_points = attack_points def get_name(self): """A reader method that returns the name""" return self.name def get_number(self): """A reader method that returns the number""" return self.number def get_combat_points(self): """A reader method that returns the combat points""" return self.combat_points def set_combat_points(self, points): """A writer method that sets the combat points""" self.combat_points = points # ------------------------------- # Create an instance of Date with the value March 6, 2017 bulbusaur = Pokemon("Bulbusaur", 1, 126) print("Pokemon:", bulbusaur.get_name(), bulbusaur.get_number(), bulbusaur.get_combat_points()) bulbusaur.set_combat_points(200) print("Pokemon:", bulbusaur.get_name(), bulbusaur.get_number(), bulbusaur.get_combat_points()) squirtle = Pokemon("Squirtle", 7, 112) print("Pokemon:", squirtle.get_name(), squirtle.get_number(), squirtle.get_combat_points())