## Drawing a lottery game, by Sergo Cusiani, 20220326
import random
balls = int(input('Enter total number of balls in a set: '))
ball = int(input('Enter number of balls to be drawn: '))
numbers = []
for i in range(1, balls + 1):
numbers.append(i)
# an empty selection set to be supplied with chosen numbers.
lotto = []
for i in range(ball):
#Python chooses a random number from the set of numbers.
number = random.choice(numbers)
#Python removes the chosen number from the previous set.
numbers.remove(number)
#Python adds the chosen number to the selection set.
lotto.append(number)
print(f"Random numbers of {ball}/{balls} lottery: {lotto}")