Python中的as_integer_ratio()用于减少给定有理数的分数