Update t9.py

using a list as a key increases time of searching . Compromising one of the major advantages of a dictionary.
Merge pull request #2 from SreeChaitanya/patch-3

Update t9.py