Ответ:
from random import randint as rand
team1 = int(input("Число участников сборной 1: "))
team2 = int(input("Число участников сборной 2: "))
rand_team1 = rand(1, team1)
rand_team2 = rand(1, team2)
print("Пловец", rand_team1, "- пловец", rand_team2)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
from random import randint as rand
team1 = int(input("Число участников сборной 1: "))
team2 = int(input("Число участников сборной 2: "))
rand_team1 = rand(1, team1)
rand_team2 = rand(1, team2)
print("Пловец", rand_team1, "- пловец", rand_team2)