Pick random element: Difference between revisions
Content deleted Content added
Line 851:
<lang smalltalk>x := #(1 2 3) atRandom.</lang>
=={{header|Swift}}==
<lang Swift>import
let myList = [1, 2, 4, 5, 62, 234, 1, -1]
=={{header|Tcl}}==
|
Line 851:
<lang smalltalk>x := #(1 2 3) atRandom.</lang>
=={{header|Swift}}==
<lang Swift>import
let myList = [1, 2, 4, 5, 62, 234, 1, -1]
=={{header|Tcl}}==
|