how to make rand () in python/как сделать rand () в python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to make rand () in python/как сделать rand () в python

for example write something from the list Например выписать что-то из списка

30th May 2018, 3:55 PM
agurg
agurg - avatar
2 Answers
+ 2
Like this? # sample to make random names import random names = ["paul", "walter", "jane", "ronny"] print("Random name:", random.choice(names))
30th May 2018, 4:11 PM
Paul
Paul - avatar
+ 1
thank you
30th May 2018, 4:19 PM
agurg
agurg - avatar