Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~$ python3
- Python 3.9.10 (main, Jan 16 2022, 17:12:18)
- [GCC 11.2.0] on linux
- Type "help", "copyright", "credits" or "license" for more information.
- >>> 3 << 1
- 6
- >>> 3 << 2
- 12
- >>> 3 << 3
- 24
- >>> 31 >> 1
- 15
- >>> 31 >> 2
- 7
- >>> 31 >> 3
- 3
- >>> 31 >> 4
- 1
- >>> 31 >> 5
- 0
- >>> (-11) >> 1
- -6
- >>> (-11) >> 2
- -3
- >>> (-11) >> 3
- -2
- >>> (-11) >> 4
- -1
- >>> (-11) >> 5
- -1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement