How to round up to the next integer ending with 2 in Python?

后端 未结 0 338
渐次进展
渐次进展 2021-01-03 06:06

Can you help me to round like the following?

10 -> 12
21 -> 22
22 -> 22
23 -> 32
34 -> 42
相关标签:
回答
  • 消灭零回复
提交回复
热议问题