Init Code Do Pcdj 7.2 Vrm Why Does This Python Code Not Work?
Why does this python code not work? - init code do pcdj 7.2 vrm
Hello to all. Currently, I'm using Python Python 2.6. When I tried to build a new class that is never executed. Here's the code:
Account Type:
def __init__ (self, name, balance):
Self.name = name
= Balance Self.balance
def deposit (self, value):
self.balance + = value
def remove (self, value):
self.balance-value =
When first run, I can do the following:
The bank account = ()
Nothing can be specified in the object. If I were you at Komodo, said there are no errors. Can anyone help?
0 comments:
Post a Comment