Why am I getting the print output as None


#1

meal = 44.50
tax = 0.0675
tip = 0.15

meal = meal + meal * tax
total= meal + meal*tip
print("%.2f" %total)

This is the code I used and the output is:
54.63
None

Where did the none come from ?? Can somebody help


#2

None will be printed if a function has no return value. It is also an artifact of the console at the end of execution. It can be ignored, in your case.