結果 : get variable based on string python