human
Printing numbers in python
assistant
Here is some code to printing numbers rounding up to third decimal place

print('%.3f' % 3.1415)

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