Question: How can I randomly select a number from a user defined list

How can I randomly select a number from a user defined list. 

The command seq can recognize user defined lists: seq(i^2,i=[1,5,10,25]) and so I also thought the rand command could work somewhat similar

I tried to get   rand([L])()  to work where L is my list, unfortunately it turns up an error since it must be a pos int.  

 

Please Wait...