a random list python code example
Example 1: python random liste
import random
liste = ["world, HELLO !", "hello world !"]
N = random.choice(liste)
print(N)
Example 2: python random generator from list
import random
n = random.random()
print(n)