Answers for "python random list generator"

1

python random liste

import random

liste = ["world, HELLO !", "hello world !"]

N = random.choice(liste)

print(N)
Posted by: Guest on January-15-2021
1

python random generator from list

import random
n = random.random()
print(n)
Posted by: Guest on June-01-2020

Code answers related to "python random list generator"

Python Answers by Framework

Browse Popular Code Answers by Language