0
Why instance of class outputs error?
I wrote a test code with classes. And I want to make Human class. I wrote initialize method without errors. But when I create new instance of class, it outputs error: Unexpected token '.' Gary = Human.new(....) ^ https://code.sololearn.com/cJzuh2zFYb5n/?ref=app
1 Resposta
+ 1
a SnowFlake
There should not be space after new
https://code.sololearn.com/c648Tc1XNZZ3/?ref=app