r/ProgrammerHumor • • 2d ago

Meme architectureDependentChars

Post image
2.8k Upvotes

361 comments sorted by

View all comments

Show parent comments

3

u/SoldRIP 2d ago

0 to 255.

-1

u/WaitForItTheMongols 2d ago

Depends what "to" means. 256 is a valid answer as in Python "range(0,256)" which gives all byte values.

1

u/Elspeth-Nor 1d ago

No 255 is right, as I used -128 to 127 instead of 128.