Why does this code snippet provide an error when running?
import sys inputs = iter(sys.stdin.readlines()) TC = int(next(inputs)) for _ in range(TC): print