結果 : how to take dictionary as input in python