Rounding a Whole no. to nearest number in python
Hello!
I am designing a project in python where I'm stuck at a point. I hope I'll get my solution.
Python : 3.7.9 on windows 10
i.e. for example:
- 0 --> 0
- 1 --> 0
- 2 --> 0
- 3 --> 0
- 4 --> 0
- 5 --> 0
- 6 --> 10
- 7 --> 10
- 8 --> 10
- 9 --> 10
- 10 --> 10
- 715306 --> 715310
- 715305 --> 715300 similarly for all big no.s too Thank you!