Python F String Round
x = 3.14159265
print(f'pi = {x:.2f}')
# 3.14
Enoch
x = 3.14159265
print(f'pi = {x:.2f}')
# 3.14