+ 3

wait()

did I use wait() correctly if I want 2 thread to have a pause in between? https://code.sololearn.com/cI0M9KL409uv/?ref=app

6th Nov 2017, 6:35 AM
oyl
2 Answers
+ 7
You won't get the output u want with sololearn compiler as the ouput displays after the program has finished running
6th Nov 2017, 9:03 AM
David Akhihiero
David Akhihiero - avatar
+ 6
Yes you did
6th Nov 2017, 8:54 AM
👑 Prometheus 🇾🇬
👑 Prometheus 🇾🇬 - avatar