Input Array In Python Using Dictionaries