Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Python 3.7.3 (default, Mar 27 2019, 22:11:17)
- [GCC 7.3.0] :: Anaconda, Inc. on linux
- Type "help", "copyright", "credits" or "license" for more information.
- >>> round(0.5)
- 0
- >>> round(1.5)
- 2
- >>> round(2.5)
- 2
- >>> round(3.5)
- 4
- >>> round(4.5)
- 4
- >>> round(5.5)
- 6
- >>> round(6.5)
- 6
- >>> round(100.5)
- 100
- >>> round(101.5)
- 102
- >>> round(102.5)
- 102
- >>> round(103.5)
- 104
- >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement