2 ms·Most optimization techniques work just as well in Python as they do in C++ or Brainfuck.by formerly_proven 5y agoMost optimization techniques work just as well in Python as they do in C++ or Brainfuck.