+ 1
What's wrong why does it output error
<class 'int'> error https://code.sololearn.com/cSh2UaSylHs2/?ref=app
4 Antworten
+ 6
in print() change the D to d ;)
+ 8
Exactly, what Mario said. In the print() method you summon a Demon class, instead of a demon object.
BTW, "Summon a demon" sounds kinda cool... 👹
+ 4
thanks I wrote demon with a : deamon at first , and tried with lower case the way i fixed it later in the class .then I changed it after the whole code and never really expected it to be the difference . sometimes one tiny detail can mess a whole code .
thanks
+ 3
yes summoning has its literal meaning here heh