Sleeps for a specified number of seconds.
Parameters: secs (scalar) – number of seconds to sleep. Returns: unslept (scalar) – number of seconds not slept.
secs does not have to be an integer. If your system does not permit sleeping for a fractional number of seconds, secs will be rounded to the nearest integer, with a minimum value of 1.
A program may sleep for longer than secs seconds, due to system scheduling.