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

10 lines
164 B
Raku

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