Be aware of Floating-Point's limitations please! https://docs.python.org/3/tutorial/floatingpoint.html Simply input a number and it'll round to the nearest whole number using my recreation of Banker's Rounding. If you don't know what Banker's Rounding (Half to Even) is, it solves the problem with upward bias with Standard Rounding when rounding numbers with 0.5. It checks whether or not the integer part of the number is even or odd — if it is even, round down; if it is odd, round up. A few examples: 2.5 = 2 3.5 = 4 0.5 = 0 1.5 = 2 Intended Answer: 1.5 + 2.5 + 3.5 + 4.5 = 12 Standard Rounding: 2 + 3 + 4 + 5 = 14 Banker's Rounding: 2 + 2 + 4 + 4 = 12