Let's consider this situation:
from math import sqrt
x = sqrt(19) # x : 4.358898943540674
print("{:.4f}".format(x))
# I don't want to get 4.3589
# I want to get 4.3588
The print()
function rounds the number automatically, but I don't want this. What should I do?