我想知道为什么下面的代码以 -(n + 1)/(k - n - 1) 的形式计算结果。有没有办法让它返回类似于 (n + 1)/(n - k + 1) 
的形式?
'''python
_ = var('k n')
假设 (n > k)
假设 (n - k + 1 > 0)
结果 = (n + 1)/(n - k + 1)
结果
```
提前感谢您的帮助!

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-support/c391f126-91c2-4d35-bd64-1ea8508ae055n%40googlegroups.com.

Reply via email to