Why am I getting the print output as None


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:

Where did the none come from ?? Can somebody help


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.