How to use random function so that it chooses a random item from a list?
list = [ "abc", 1 , 123, "xyz" ] print( list[ random.nextInt( list.length )] )
thank you @Loginus