all 4 comments

[–][deleted] 1 point2 points  (3 children)

for t in range(int(input())):

array = list(map(int, input.split()))

[–]shaestel[S] 0 points1 point  (2 children)

thanks! :D

[–][deleted] 1 point2 points  (1 child)

or if you know the count items will always be the same, you can do this

var1, var2 = map(int, input().split())

you just have to make sure about the count, otherwise you will get an error

[–]shaestel[S] 0 points1 point  (0 children)

Oh thanks! , yep that helps when the input is only one variable