結果 : taking dictionary as input in python