Random walk python

Hi all, :yes:

Can anyone make a script in which a cube moves to random locations, with brakes in between. And can’t get out of a certain region. :stuck_out_tongue:

If not, how can I make a random choose between serveral cases. For example:

Choose case 1/4

If case 1:
Print case 1

If case 2:
etc.

Thanks :wink: