print(string % value) in Python corresponds printf(string, value) in C.
string % value is used to create C-style string formatting in Python.
% means that there is being inserted a value representation.
%f means that the inserted value must be represented as a floating point number.
%.2f means that the inserted floating point representation is limited to have only 2 decimal places.