How To Use For Loop In Dictionary In Python