class A
# A description here on top of a method whose name we haven't read yet.
def foo
pass
class A
def foo
""" A description here after you read the "def" and the method name. """"
pass
You can write this code:
i = 0
while i < 10
obj.foo
i += 1
# like this instead:
for i in 10
obj.foo
In the minimal version you can stack up your assignments in one line:
# three lines:
__message = ''
__name = ''
__loopMessage = 0
# one liner:
__message, __name, __loopMessage = '', '', 0
Most everybody puts a blank line before method defs for improved readability.
Most fields are done with underscore, but maybe you wanted 2 for "private" instead of "protected".
I'm doubtful that the "Verbose" version of programs is needed or instructive.
HTH. Thanks again.