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/Guess-the-number/Sidef/guess-the-number.sidef
Normal file
6
Task/Guess-the-number/Sidef/guess-the-number.sidef
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
var n = 10.rand(1).int;
|
||||
print 'Guess the number: ';
|
||||
while (n != read(Number).int) {
|
||||
print 'Wrong! Guess again: '
|
||||
}
|
||||
say 'Well guessed!';
|
||||
Loading…
Add table
Add a link
Reference in a new issue