I am trying to understand why I keep on getting the error “Standard input is empty” in the code below when clearly I am asking for input. This it the code for the prime generator puzzle but the detail of the calculation is not relevant.
k=int(input()) #number of test cases
for i in range(1,k+1):
for p in primes: