diff options
| author | Packy Anderson <packy@cpan.org> | 2024-08-07 01:25:55 -0400 |
|---|---|---|
| committer | Packy Anderson <packy@cpan.org> | 2024-08-07 01:25:55 -0400 |
| commit | 0d7bf1a3851b06286ee68c3d6a5a04150e47b401 (patch) | |
| tree | 277834a23008df9fab135b0245f6befe7bfb97ae /challenge-281/packy-anderson/python | |
| parent | 4b08f96f7df8de14e0c77b7fabbde2ade95718d2 (diff) | |
| download | perlweeklychallenge-club-0d7bf1a3851b06286ee68c3d6a5a04150e47b401.tar.gz perlweeklychallenge-club-0d7bf1a3851b06286ee68c3d6a5a04150e47b401.tar.bz2 perlweeklychallenge-club-0d7bf1a3851b06286ee68c3d6a5a04150e47b401.zip | |
Challenge 281 update by Packy Anderson
Task 2 in Elixir; remove extraneous newline from
Raku/Perl/Python task 2 output.
Diffstat (limited to 'challenge-281/packy-anderson/python')
| -rwxr-xr-x | challenge-281/packy-anderson/python/ch-2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-281/packy-anderson/python/ch-2.py b/challenge-281/packy-anderson/python/ch-2.py index f1b8803a71..72f51c823f 100755 --- a/challenge-281/packy-anderson/python/ch-2.py +++ b/challenge-281/packy-anderson/python/ch-2.py @@ -65,7 +65,7 @@ def leastMoves(start, end): def solution(start, end): print(f'Input: $start = \'{start}\', $end = \'{end}\'') count, moves = leastMoves(start, end) - print(f'Output: {count}\n\n{moves}\n') + print(f'Output: {count}\n\n{moves}') print('Example 1:') solution('g2', 'a8') |
