結果 : what is thread synchronization explain with suitable example in python