or translated, a program doing multiple tasks at the same time.
Because doing multiple things at the same time may affect certain things such as changing data.
If Thread A is changing data and Thread B comes across and also wants to change data, in order to avoid a collision, there is a method/a "lock", that all threads test to see if anyone is changing data, if there is, they wait.
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: