Re: [Tutor] PYTZ Package not working.

2017-07-20 Thread Alan Gauld via Tutor
On 20/07/17 18:41, Daniel Bosah wrote: > I'm trying to get my function to work: Did you read any of the replies to your previous message? You do not appear to have applied any of the suggestions. > def deposit(self,amount): > if amount > 0: > self.balance += amount >

[Tutor] PYTZ Package not working.

2017-07-20 Thread Daniel Bosah
I'm trying to get my function to work: def deposit(self,amount): if amount > 0: self.balance += amount self.show_balance() self.transaction_list.append((pytz.utc.localize(datetime.datetime.utcnow()),amount)) # appends traction details to list def