def calculate_vat(amount):
amount * 1.2
total = calculate_vat(100)
print(total)
When your boss runs the program they get the following output:
None
Your boss expects the program to output the value 120 . What is wrong? How do you fix it?
def calculate_vat(amount):
return amount * 1.2
total = calculate_vat(100)
print(total)
Comments
Leave a comment