I am doing a python control exercise. I looked at the answers and for a print string it has come up with this
print(“cheapest option available is $.2f% with %s shipping.” %(cost,method))
i know that .2f means float to 2dp and the %s refers to a string.
What do the % mean in this case and what is its purpose?
I have a link to my exercise