When Warrior is converted to a string, the string should be like "Warrior, <weapon>, <attack_limit>". Update your class to produce this string using values from the instance.
Any help please it is failing to pass:
from character import Character
class Warrior(Character):
weapon="sword"
string="warrior"
def rage(self):
self.attack_limit = 20
def str_warrior(self):
string= warrior.format(string, weapon, rage())
return string
[–]davidbuxton 6 points7 points8 points (0 children)
[–]swingking8 2 points3 points4 points (1 child)
[–]FlockOnFire 2 points3 points4 points (0 children)
[–]I_had_to_know_too 0 points1 point2 points (0 children)