While Loop Vs For Loop Python Dictionary