結果 : how to take input from dictionary in python