james_027 a écrit :
> hi everyone,
>
> I am now in chapter 5 of Dive Into Python and I have some question
> about it. From what I understand in the book is you define class
> attributes & data attributes like this in python
s/data/instance/
> class Book:
>
>
james_027 wrote:
> hi everyone,
>
> I am now in chapter 5 of Dive Into Python and I have some question
> about it. From what I understand in the book is you define class
> attributes & data attributes like this in python
>
> class Book:
>
> total # is
hi everyone,
I am now in chapter 5 of Dive Into Python and I have some question
about it. From what I understand in the book is you define class
attributes & data attributes like this in python
class Book:
total # is a class attribute
def __init__(self):
self.title # is a