Answers for "python round by a number"

2

round number python]

x = round(5.76543, 2)
print(x)

# 5.77
Posted by: Guest on January-20-2021
1

round off python

def myround(x, base=5):
    return base * round(x/base)
Posted by: Guest on July-27-2020

Python Answers by Framework

Browse Popular Code Answers by Language