Jul 25, 2017 · 1 min read
this comment should be at the very beginning when ‘self’ is used, and probably further explained; I still do not understand why
self.name = name
print(“Hello {} How are you ?”.format(self.name))
instead of simply
print(“Hello {} How are you ?”.format(name))
or why the functions within a class (apparently) always require the “self” as an argument… could you please ellaborate?
Thanks for the deep and quick reference post, though!