[Python] Can someone explain the output? [closed]

Discussão em 'Python' iniciado por Stack, Dezembro 17, 2024.

  1. Stack

    Stack Membro Participativo

    the image in question

    Can someone explain why the result is not on after the other? Why does the code have 2 outputs on the same line, and then nothing on the next?

    I ran the code, expecting it to run one after the other, as I assume they should take the same time for same number of computations, so the precedence of the for loop matters. I got a result with the completions in random order.

    Continue reading...

Compartilhe esta Página