how to return integer with 2 decimals python code example Example: how do i limit decimals to only two decimals in python answer = str(round(answer, 2))