<human>:  Python, print all floats to 2 decimal places in output
<bot>: Here is some code to format all floating variables `var1`, `var2`, `var3`, `var1` to print to two decimal places.

print('%.2f kg = %.2f lb = %.2f gal = %.2f l' % (var1, var2, var3, var4))

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