Obtenga entrada en la misma línea Python

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

print(numbers)
Troubled Teira