Mode:
Duration:
1
2
3
4
5
6
7
8
9
10
11
12
13
begin
integer steps, i, position;
steps := 10;
position := 0;
for i := 1 step 1 until steps do
begin
if random(2) = 0 then
position := position + 1
else
position := position - 1;
print(position);
end;
endCoding works best on desktop or with an external keyboard.