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.
我试图弄清楚如何计算我的工作可以放入一个集装箱中的箱子数量。有谁知道我如何用 Python 做到这一点?这里有一个例子:
http://www.searates.com/reference/stuffing/
基本上,为和user输入一些不同的维度。then 将返回它的完整程度或每个可以添加多少。它还将计算整个单元。boxesquantitiesweightsprogramcontainerboxweights
user
boxes
quantities
weights
program
container
box
更理想的是,将是一张描述它是如何包装的图片。