216k views
0 votes
I need help with this line of code:

newhero = superhero(self.name, self.alterego, self.powers, self.villain, self.motto, self.strengthpts)

i went on https://extendsclass.com/python-tester.html to check it and kept getting this error:

Syntax errors detected :

Line 55:
newhero == superhero(self.name, self.alterego, self.powers, self.villain, self.motto, self.strengthpts):
^
SyntaxError: invalid syntax

1 Answer

2 votes

Answer:

remove everything after superhero

Step-by-step explanation:

newhero==superhero and test it

User Curtis Rutland
by
3.7k points