While Loop Through Array In Python Documentation Dictionary