When I used for loop to iterate object
arr = map(int, input().split())
for j in arr: # this print's results
    print(j)
for i in arr: # this doesn't print any results
    print(i)
On the other hand
any = [5,8,6,4]
for i in any:  # this print's results
    print(i)
for j in any: # this also print's results
    print(j)
Why for iterating the object file it doesn't prints result for the second time. Can any one help?
 
     
     
     
    