Какой из них будет быстрее в Python I = I + 1 или I += 1 ?
I know these two expressions produce the same results but I would like to know which one is faster and why is it faster. If I were to use them in two different loops with each one iterating about 100 times, would one loop finish earlier than the other? and by what margin?
Что я уже пробовал:
I haven't found any reliable answers on google so I am asking here. The answers I found on google do not provide the answer I need.