Array Input Using For Loop In Python Using Dictionaries