Re: [Tutor] Simple bank account oriented object

2010-04-05 Thread Steven D'Aprano
On Tue, 6 Apr 2010 06:31:30 am Marco Rompré wrote: > Hi im doin a programmin course at university and in one on my > exercise i have to do that > > I had to define a class CompteBancaire(CompteBancaire is bankaccount > in french), that would allow me to create objects Compte1, > Compte2,etc. [...]

Re: [Tutor] Simple bank account oriented object

2010-04-05 Thread Alan Gauld
I don't speak French so I'm struggling a bit with the variable names, however... "Marco Rompré" wrote in message class CompteBancaire: def __init__(self,nom,solde,interet): #Nous allons instancier et self.nom, self.solde, self.interet = nom,solde,interet def depot(self,somme

Re: [Tutor] Simple bank account oriented object

2010-04-05 Thread Marco Rompré
Hi im doin a programmin course at university and in one on my exercise i have to do that I had to define a class CompteBancaire(CompteBancaire is bankaccount in french), that would allow me to create objects Compte1, Compte2,etc. The following methods need to be defined - depot(somme)

Re: [Tutor] Simple bank account oriented object

2010-03-30 Thread Lie Ryan
On 03/31/2010 01:26 PM, Marco Rompré wrote: > > Please help me i think im on the right track but i need some guidance in > the dark. lol And what's your question? ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: ht

[Tutor] Simple bank account oriented object

2010-03-30 Thread Marco Rompré
Hi im doin a programmin course at university and in one on my exercise i have to do that I had to define a class CompteBancaire(CompteBancaire is bankaccount in french), that would allow me to create objects Compte1, Compte2,etc. The following methods need to be defined - depot(somme)