Domanda di colloquio di The Smart Cube

how would you remove stop words? (wanted python code)