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):
m,n=map(int, input().split())
primes=prime_sieve_range(m,n)
for p in primes:
print§
print(’’)
Kind regard
H