Generate random numbers without repeating a value: Difference between revisions
Content deleted Content added
m →{{header|Wren}}: Tidied alternative version. |
m →{{header|RPL}}: improved code |
||
Line 1,029:
'''Stand-alone implementation'''
≪ 0 → n r
≪ 1 n '''FOR''' j j '''NEXT'''
1 n '''START'''
n
r ROLL SWAP r ROLLD
n ROLL
|