stay in the same value of analog input give output one time

Whats the problem? I tested his code myself and it works. Is it not printing out fast enough? You may need to change the delay time from 1000 to 500 or less.