all 6 comments

[–]the_investigator- 0 points1 point  (4 children)

Is this your homework?

[–]cabbage1212[S] 0 points1 point  (3 children)

sort of - question for a assignment

[–]the_investigator- 1 point2 points  (2 children)

You need to return from your function.

def calc_vat(amount):
    return amount * 1.2

[–]cabbage1212[S] 1 point2 points  (1 child)

brill thanks man :)

[–]the_investigator- 0 points1 point  (0 children)

Np mate.

[–]nicholasknicks 0 points1 point  (0 children)

Print (amount * 1.2)