the prototype pattern attack_powerattack_rangeweapon )self unit_type "knightself life life self speed speed self attack_power attack_power self attack_range attack_range self weapon weapon def __str__(self)return "type{ }\ "life{ }\ "speed{ }\ "attack power{ }\ "attack range{ }\ "weapon{ }formatself unit_typeself lifeself speedself attack_powerself attack_rangeself weapon class archer(object)def __init__selflifespeedattack_powerattack_rangeweapon )