Raku / examples

Many examples of Raku code
https://examples.raku.org/
Artistic License 2.0
294 stars 89 forks source link

Fix output text for P06 #77

Closed Huy-Ngo closed 3 years ago

Huy-Ngo commented 3 years ago

Currently, the output text for categories/99-problems/P06-ajs.pl is:

a b c d E is a palindrome
a b c b a is a palindrome
a b b E is a palindrome
E b b a is a palindrome
a b b a is a palindrome
a is a palindrome
a a is a palindrome
E a is a palindrome

which is not correct. I changed the program a bit so it outputs:

a b c d E is not a palindrome
a b c b a is a palindrome
a b b E is not a palindrome
E b b a is not a palindrome
a b b a is a palindrome
a is a palindrome
a a is a palindrome
E a is not a palindrome