Narcissistic decimal number: Difference between revisions
Content added Content deleted
Line 4,130: | Line 4,130: | ||
do. |
do. |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
{{out}} |
|||
<pre> |
|||
?- time(do). |
|||
1 -> [0,1,2,3,4,5,6,7,8,9] |
|||
2 -> [] |
|||
3 -> [153,370,371,407] |
|||
4 -> [1634,8208,9474] |
|||
5 -> [54748,92727,93084] |
|||
6 -> [548834] |
|||
7 -> [1741725,4210818,9800817,9926315] |
|||
% 666,266 inferences, 0.120 CPU in 0.120 seconds (100% CPU, 5557841 Lips) |
|||
true. |
|||
</pre> |
|||
=={{header|Python}}== |
=={{header|Python}}== |