結果 : how to format a fraction in python