python round up to nearest code example Example: python round down >>> int(1.6) 1 >>> int(2) 2 >>> int(3.9) 3