From 0d7bf1a3851b06286ee68c3d6a5a04150e47b401 Mon Sep 17 00:00:00 2001 From: Packy Anderson Date: Wed, 7 Aug 2024 01:25:55 -0400 Subject: Challenge 281 update by Packy Anderson Task 2 in Elixir; remove extraneous newline from Raku/Perl/Python task 2 output. --- challenge-281/packy-anderson/python/ch-2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'challenge-281/packy-anderson/python') 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') -- cgit