choice is less clunky August 5, 2021 by James Palmer as using sample would have the syntax random.sample(some_list 1)[0] instead of random.choice(some_list). Related