Reference: wait
wait(t) suspends execution of the program for t seconds, but AlgoSim will remain responsive during this time, in contrast to sleep(t).
wait(t) suspends execution of the program for t seconds, but AlgoSim will remain responsive during this time, in contrast to sleep(t).