In plain English... you defined the function:
def newbalances(initialbalance, productname, advertisingcost): ...But you didn't called the function:
someVariableName = newbalances(arg0,arg1,arg2)P.S. Please don't stress the polar bear. They're already stress enough about global warming.
When my code doesn't work I don't know why **think** and when my code works I don't know why **think**