Dec-17-2017, 03:07 PM
(Dec-17-2017, 02:59 PM)Terafy Wrote: This is your function
def newbalances(initialbalance, productname, advertisingcost): newbalance = initialbalance - advertisingcost - ptoductname * wholesaleprice return newbalanceNow to call it you need to assign it a variable (let call it todayBalance) and give it 3 arguments.
todayBalance=newbalances(0, 'Nick', 100)
where should i put this part of the code