Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sub is-odd(Int $n) {
- if $n % 2 == 0 {
- return False;
- }
- True;
- }
- is-odd(3) or die "Wrong status";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement