Input Array In Python Using Dictionaries Python