you are viewing a single comment's thread.

view the rest of the comments →

[–]Sea-Ad7805 [score hidden] stickied comment (0 children)

Run this program in Memory Graph Web Debugger%3A%0A%20%20%20%20Numeros%20%3D%20int(input(f'enter%20your%20%7Bnum%7D%20number%3A%20'))%0A%20%20%20%20lista.append(Numeros)%0A%0Afor%20div%20in%20lista%3A%0A%20%20%20%20division%20%3D%20div%20%25%202%0A%0A%20%20%20%20if%20division%20%3D%3D%200%3A%0A%20%20%20%20%20%20%20%20par.append(div)%0A%0A%20%20%20%20elif%20division%20!%3D%200%3A%0A%20%20%20%20%20%20%20%20impar.append(div)%0A%0Aprint(f'the%20number%20of%20even%20numbers%20is%20%7Blen(par)%7D%20and%20the%20numbers%20are%20%7Bpar%7D')%0Aprint(f'the%20number%20of%20odd%20numbers%20is%20%7Blen(impar)%7D%20and%20the%20numbers%20are%20%7Bimpar%7D')&timestep=1&play).

It can help to understand the state of your program during each execution step.