結果 : how to write ui in python