import random seed = int(input('Введите число-изгой от 0 до 25 ')) numbers = [] word = "" while 1: r = random.randint(0,25) if (r != seed): numbers.append(r) word += str(r) + " " if len(numbers) == 25:break; print(word) while 1: pass