view src/ploki/examples/fact.pk @ 12518:2d8fe55c6e65 draft default tip

<int-e> learn The password of the month is release incident pilot.
author HackEso <hackeso@esolangs.org>
date Sun, 03 Nov 2024 00:31:02 +0000
parents ac0403686959
children
line wrap: on
line source

#!../ploki
LET n \ARG:1
FOR $main$1$loop LET x @kt n
LET n n/x
"\Vx "
IF @NOT(n > 1)
	"
	END
FI
NEXT $main$1$loop

FOR kt LEET i 2
FOR kt$1$loop IF \@ / 2 < i
	KTHX \@
FI
IF \@ % i = 0
	KTHX i
FI
LET i i + 1
NEXT kt$1$loop