This is my code:
N=int(stdin.readline())
Arr=[]
for j in range(N):
Arr.append(int(stdin))
print(Arr)
I got the following error:
TypeError: int() argument must be a string, a bytes-like object or a real number, not '_io.TextIOWrapper'
This is my code:
N=int(stdin.readline())
Arr=[]
for j in range(N):
Arr.append(int(stdin))
print(Arr)
I got the following error:
TypeError: int() argument must be a string, a bytes-like object or a real number, not '_io.TextIOWrapper'