diff options
| author | Packy Anderson <packy@cpan.org> | 2024-05-01 12:57:26 -0400 |
|---|---|---|
| committer | Packy Anderson <packy@cpan.org> | 2024-05-01 13:00:03 -0400 |
| commit | ae567ef106a2e46c5e1045ef5e06df611582b037 (patch) | |
| tree | f39f9e480e882b1a407ede6d7ab10a893d0d113b | |
| parent | 05b3dc1c0f81ab61ae1f4f1032af69509b312aac (diff) | |
| download | perlweeklychallenge-club-ae567ef106a2e46c5e1045ef5e06df611582b037.tar.gz perlweeklychallenge-club-ae567ef106a2e46c5e1045ef5e06df611582b037.tar.bz2 perlweeklychallenge-club-ae567ef106a2e46c5e1045ef5e06df611582b037.zip | |
Correct Input text for challenge 267 task 1.
| -rwxr-xr-x | challenge-267/packy-anderson/python/ch-1.py | 2 | ||||
| -rwxr-xr-x | challenge-267/packy-anderson/raku/ch-1.raku | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/challenge-267/packy-anderson/python/ch-1.py b/challenge-267/packy-anderson/python/ch-1.py index 034e7ce8fd..a7f13f1d4f 100755 --- a/challenge-267/packy-anderson/python/ch-1.py +++ b/challenge-267/packy-anderson/python/ch-1.py @@ -19,7 +19,7 @@ def comma_join(arr): return ', '.join(map(lambda i: str(i), arr)) def solution(ints): - print(f'Input: @arr = ({comma_join(ints)})') + print(f'Input: @ints = ({comma_join(ints)})') sign, explain = productSign(ints) print(f'Output: {sign}\n{explain}') diff --git a/challenge-267/packy-anderson/raku/ch-1.raku b/challenge-267/packy-anderson/raku/ch-1.raku index d03830a9ab..8f325a38a2 100755 --- a/challenge-267/packy-anderson/raku/ch-1.raku +++ b/challenge-267/packy-anderson/raku/ch-1.raku @@ -17,7 +17,7 @@ sub productSign(@ints) { } sub solution(@ints) { - say 'Input: @arr = (' ~ @ints.join(', ') ~ ')'; + say 'Input: @ints = (' ~ @ints.join(', ') ~ ')'; my ($sign, $explain) = productSign(@ints); say "Output: $sign\n$explain"; } |
