RosettaCodeData/Task/Left-factorials/Sidef/left-factorials-4.sidef

8 lines
169 B
Text
Raw Permalink Normal View History

2017-09-23 10:01:46 +02:00
for i (0..10, 20..110 `by` 10) {
printf("!%d = %s\n", i, left_fact(i))
2016-12-05 23:44:36 +01:00
}
2017-09-23 10:01:46 +02:00
for i (1000..10000 `by` 1000) {
printf("!%d has %d digits.\n", i, left_fact(i).len)
2016-12-05 23:44:36 +01:00
}