in reply to Beginner question - understanind a loop with a file handle

I think this code could make sense though if each line of input in the file was a number.

That's exactly what's expected. You understand what's going on perfectly.

[ I wrote this earlier, but it went unposted. I might as we post it anyway ]

  • Comment on Re: Beginner question - understanind a loop with a file handle