結果 : how to give dynamic input in python