Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
|
|
@ -1,6 +1,7 @@
|
|||
!yamlscript/v0
|
||||
#!/usr/bin/env ys-0
|
||||
|
||||
defn main(n):
|
||||
say: "$n! = $factorial(n)"
|
||||
|
||||
defn factorial(x):
|
||||
apply *: 2..x
|
||||
|
||||
say: factorial(20)
|
||||
apply *: 2 .. x
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue