How i can calculate more fast an array in python [on hold]

Keywords: python optimization

Question: 

Answers: