# The 50-30-20 strategy is a simple way to budget, which involves spending 50% of after-tax income on needs, 30% after tax income on wants, and 20% after-tax income on savings or paying off debt.

# Given the after-tax income as ati, what you are supposed to do is to make a function that will return a dictionary that shows how much a person needs to spend on needs, wants, and savings.
def fifty_thirty_twenty(ati):
  return {"Needs": ati*.5, "Wants": ati*.3, "Savings": ati*.2}
9d1b713545826026f4754ab69a2b429eaafce382
<mask token>

def fifty_thirty_twenty(ati):
    return {'Needs': ati * 0.5, 'Wants': ati * 0.3, 'Savings': ati * 0.2}

# The 50-30-20 strategy is a simple way to budget, which involves spending 50% of after-tax income on needs, 30% after tax income on wants, and 20% after-tax income on savings or paying off debt.

# Given the after-tax income as ati, what you are supposed to do is to make a function that will return a dictionary that shows how much a person needs to spend on needs, wants, and savings.
def fifty_thirty_twenty(ati):
  return {"Needs": ati*.5, "Wants": ati*.3, "Savings": ati*.2}