How to round 6.25 to 6.3 and 6.24 to 6.2 in Python?
The 'round' function is rounding 6.25 to 6.2:
mynum = 6.25
print(round(mynum, 1))
produces 6.2 and I really need it to produce 6.3 It seems to only round up with 6 like 6.26 produces 6.3
Just to be clear: I want 6.25 to round to 6.3 and 6.24 to round to 6.2