def multiplo(x): return (x + 9) / 10 * 10 for x in range(150, 161): print(x, multiplo(x)) #https://pt.stackoverflow.com/q/54761/101
Standard input is empty
(150, 150) (151, 160) (152, 160) (153, 160) (154, 160) (155, 160) (156, 160) (157, 160) (158, 160) (159, 160) (160, 160)