#### LISTS ####
import random

names_str = "Dor, Rem, Mif, Fas, Sol, Laa, Sid"
names = names_str.split(", ")

# Chose a person from a list randomly (1)
random_name = random.randint(0, len(names) - 1)
person = names[random_name]
print("Who will pay today: ", person)

# Chose a person from a list randomly (2)
print("Who will pay today: ", random.choice(names))
0b8c3ec5e7111630f76ecd2024e5a9c17731081e
<mask token>

<mask token>
print('Who will pay today: ', person)
print('Who will pay today: ', random.choice(names))

<mask token>
names_str = 'Dor, Rem, Mif, Fas, Sol, Laa, Sid'
names = names_str.split(', ')
random_name = random.randint(0, len(names) - 1)
person = names[random_name]
print('Who will pay today: ', person)
print('Who will pay today: ', random.choice(names))

import random
names_str = 'Dor, Rem, Mif, Fas, Sol, Laa, Sid'
names = names_str.split(', ')
random_name = random.randint(0, len(names) - 1)
person = names[random_name]
print('Who will pay today: ', person)
print('Who will pay today: ', random.choice(names))

#### LISTS ####
import random

names_str = "Dor, Rem, Mif, Fas, Sol, Laa, Sid"
names = names_str.split(", ")

# Chose a person from a list randomly (1)
random_name = random.randint(0, len(names) - 1)
person = names[random_name]
print("Who will pay today: ", person)

# Chose a person from a list randomly (2)
print("Who will pay today: ", random.choice(names))