I need help in taking multi line input separated by blank line after each input in python3.
For example, i have to take input as first line T test cases, first and only line of each test case has N. Their is a blank line after each input as follows
2 #T
4 #N
8 #N
I tried following
t=int(input())
while(t):
n=int(input())
t-=1
But it throws NZEC Runtime error as
File “/.prog.py” line 4, in
ValueError: not enough values to unpack (expected 1 , got 0)
Please help me for how to handle this.