Python 编程:使用doctest进行文档测试. ... division by zero """ return x + y * 2 if __name__ == '__main__': import doctest doctest.testmod(). 运行结果.
確定! 回上一頁