learning-perl6/ch1/ex1-1.raku
2023-11-09 22:29:33 -08:00

10 lines
139 B
Raku

#`(
What type of object is 137?
Compute its square root.
Is it a prime number?
)
say 137.WHAT;
say 137.sqrt;
say 137.is-prime;