from random import choice
def launch_round(num_players):
options = ['камень', 'ножницы', 'бумага']
results = []
for _ in range(num_players):
results.append(choice(options))
return results
# Пример использования
num_players = 5
round_results = launch_round(num_players)
for result in round_results:
print(result)
Сделал ИИ ( Ссылка )
Используй функцию choice().
Пример
Ввод
5
Вывод
ножницы
бумага
ножницы
камень
бумага