[Tutor] [maryknauth at mac.com: Re: Input parameters for functions]
alexkleider
alexkleider at protonmail.com
Sat Jun 20 11:23:31 EDT 2020
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, June 20, 2020 6:08 AM, Mary Knauth via Tutor <tutor at python.org> wrote:
>
> ‘return account_balance = account_balance + deposit_amount’ is an invalid syntax, so I need to read more about how to utilize return.
Try
account_balance += deposit_amount
return account_balance
or simply
return account_balance + deposit_amount
More information about the Tutor
mailing list