Frage im Vorstellungsgespräch bei Dummy

How to allocate assets on a portfolio efficiently using Python?