I would like some assistance into rounding off a answer in Python
fuel = 9.95
print("Initial Price is:",fuel)
tax = 0.095
fuelTax = (fuel * tax)
print(fuelTax)
I would like it that upon printing, the answer is rounded to x decimal places. As of right now, it prints out a float with a lot of decimal places. I just started learning how to code, and would appreciate any tips/pointers you guys have. Cheers :)