Why does trivial loop in python run so much slower than the same in C++? And how to optimize that?

are while loops faster than for loops python
python speed up nested loops
why is python slower than c
python loop slows down
how to reduce time complexity of for loop in python
is lambda function faster than for loop python
pypy
how to avoid for loops in python