Pick random element: Difference between revisions

Content deleted Content added
Kazinator (talk | contribs)
→‎{{header|TXR}}: Use square brackets; make generic over lists, vectors and strings.
No edit summary
Line 60:
o_byte(l_query(l, drand(5)));
o_byte('\n');</lang>
 
=={{header|App Inventor}}==
App Inventor has the block '''pick a random item''' for selecting a random item from a list.<br>
[https://lh4.googleusercontent.com/-FaK4IeMmyI0/Uuv4G83dpYI/AAAAAAAAJ-E/3gzO5jUMwxE/s1600/Capture.PNG CLICK HERE TO VIEW THE BLOCKS AND ANDROID APP DISPLAY]
 
=={{header|AutoHotkey}}==