Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from random import choice
- names = ("Ali, Mohamed, Soha, Noha, Mona, Alan, Atef")
- names = names.split(",") #Convert the string to a list of names
- random_name = choice(names)
- print(random_name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement