Add Share to what you want to share.
Now let's run it across 4 different processes.
Share
counter = 0
results = []
Separate memory spaces. Separate CPU cores. Same shared state.
And that's all it takes.
Nothing to learn. You already know how to use it.
Write Python. Share state.