just a small problem.
I'm using around 6 threads, all of which are printing something every couple of seconds. Occasionally they print on the same line like this:
OUTPUT
OUTPUT
OUTPUTOUTPUT
OUTPUT
OUTPUT
This leaves an empty line and a double print as you can see. Is there a way that I can make sure this doesn't happen. I saw something saying:
print("OUTPUT", end="\n")
This didn't work so I've come back to stack overflow!