I am learning to manipulate data using numpy.While I was learning with some course online .I found this piece of code having string literals .
w = 200
b = 100
x_i = 1.2
cost_1200sqft = w * x_i + b
print(f"${cost_1200sqft:.0f} thousand dollars")
I dont know what this ” :.0f ” means ?
New contributor
Kiran Mishra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.