This time another riddle. I think this is a good way to learn to read code.
The input has to be an integer. If you put for instance 3.5 the bit behind the dot will be removed by the floor block.
- What does it do?
- What could you change to make the result more random?
- Could you make the result in a completely different way?
- Can you think of any use for this procedure?