Uzyskaj dane wejściowe w tej samej linii Python

n = 2  # how many numbers to accept
numbers = [int(num) for num in input().split(" ", n-1)]

print(numbers)
Troubled Teira