random.choises py code example Example: random.choice() import random l=[1,2,3,4,5,6,7,8,9,0] random.choice(l) print(l);