human
Precision in python
assistant
Here is some code to print a digit `your_number` with exactly 2 digits after decimal

print('{0:.2f}'.format(your_number))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.