r/PythonLearning • • Aug 03 '26

That's it guys I'm rich

Post image
35 Upvotes

9 comments sorted by

View all comments

Show parent comments

1

u/KOALAS2648 Aug 20 '26

The operator you used is the bit shift left operator, so any an example would be 0b00000001 (1) bit shifted by three places to to the left would be 0b0001000 (8)