Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何返回列表中整数的因子?例如 list_factors(6); > [1,2,3,6]?这样的事情可能吗?我查看了文档,但没有发现与“因素”或“素数”相关的任何内容。
list_factors(6); > [1,2,3,6]