Discover a wealth of knowledge at Westonci.ca, where experts provide answers to your most pressing questions. Discover in-depth answers to your questions from a wide network of experts on our user-friendly Q&A platform. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform.

Can anyone add some code for me following the directions please :)
Look over the code that starts the Superhero class. You may use this code as a starting point. Come up with two additional attributes and one method to add to the class. Be creative! Some attributes could be a motto, villain, strength, weakness, or alter ego. An action might be saveWorld() or transformHero().

class Superhero:
# Superhero class represents the facts related to a superhero.
def __init__(self, name = "", strengthPts = 0):
# Create a new Superhero with a name and other attributes
self.name = name
self.strengthPts = strengthPts
def addStrengthPts(self, points):
# Adds points to the superhero's strength.
self.strengthPts = self.strengthPts + points


Sagot :

Answer:

soryyyyy

Explanation:

i am so sorry i messed up i am gonna tell you again