osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Intitalize values for a class


On Nov 23, 2018 8:42 AM, "Ganesh Pal" <ganesh1pal at gmail.com> wrote:
>
> Hello team,
>
> I am a python 2.7 user on Linux. I will need feedback on the below program
> as I'm  new to oops .

My feedback is:

Firstly there's a blank line between every line of program text which makes
it hard to read.

Also some statements are spread out over more than one line which also
makes it hard to read.

Secondly this sounds like a homework assignment. Is that true? If so be
aware that we will be glad to help if you tell us where you are stuck but
we won't write the code for you.

Please learn how to write effective questions. You can Google that and find
several good resources.

Bob Gailer