Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
6
Task/Sleep/Sidef/sleep.sidef
Normal file
6
Task/Sleep/Sidef/sleep.sidef
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
var sec = read(Number); # any positive number (it may be fractional)
|
||||
say "Sleeping...";
|
||||
Sys.sleep(sec); # in seconds
|
||||
#Sys.usleep(sec); # in microseconds
|
||||
#Sys.nanosleep(sec); # in nanoseconds
|
||||
say "Awake!";
|
||||
Loading…
Add table
Add a link
Reference in a new issue