Answer to Question #349499 in Python for Flora

Question #349499

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?



1
Expert's answer
2022-06-09T18:21:49-0400
def calculate_vat(amount):
    return amount * 1.2
total = calculate_vat(100)
print(total)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS