what does print("%.2f" % total) mean?
As a beginner ,I just want to know the meaning of the code below,or someone kind to paste the link refer to these two statements! thanks in advance;
print("%.2f" % total)
I understand the first part which are inside quotation marks BUT I don’t get it why they put % between the first part and total?