edited comments and added a while loop

Fixed function/loop confusion in some of the notes in learning_numpy.py. While loop has an example of prettier printing