A methodological approach - alternative way of calling method?



I see, that in the sample solution you use


to call the method.

I used


which worked fine. Is there any adavantag/disadvantage in using either of those?


the general syntax for calling methods is:


this should raise a NameError, saying that description is undefined. Maybe your browser is sending cached data? I put the code here:


and it throws an error, so there is only one way to call a method


Thanks a lot, I also checked again: The code was acccidentally indented, so inside the class definition, that was why it worked, I guess.


So is everything clear now? No more questions


Yes, thanks :slight_smile: