Obtenez une entrée sur la même ligne Python
n = 2 # how many numbers to accept
numbers = [int(num) for num in input().split(" ", n-1)]
print(numbers)
Troubled Teira
n = 2 # how many numbers to accept
numbers = [int(num) for num in input().split(" ", n-1)]
print(numbers)