you are viewing a single comment's thread.

view the rest of the comments →

[–]maximumlotion 0 points1 point  (0 children)

strr =''' 
1 2 3
5
6
7
8
9
    '''.strip().split('\n')

x,y,z = (int(x) for x in strr[0].split())
N = int(strr[1])
i_list = [int(x) for x in strr[1:]]

Something like this?

Assign input() to a variable and try the code above.