From 81f2b7e2eda1c0c51ee5821d698ecff76f6a3c3a Mon Sep 17 00:00:00 2001 From: rcatini <100608277+rcatini@users.noreply.github.com> Date: Fri, 29 Jul 2022 10:26:28 +0200 Subject: [PATCH] alphamirror: fix newline As per the the current subject https://github.com/01-edu/public/blob/88c3cc52a928a7c66d15a64def24ddedc344168f/subjects/alphamirror/README.md the newline should not be printed in the case the number of arguments is not 1. --- solutions/alphamirror/main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/solutions/alphamirror/main.go b/solutions/alphamirror/main.go index e9db5042..a1d076f5 100644 --- a/solutions/alphamirror/main.go +++ b/solutions/alphamirror/main.go @@ -15,8 +15,6 @@ func main() { arg[i] = 'Z' - ch + 'A' } } - fmt.Print(string(arg)) + fmt.Println(string(arg)) } - - fmt.Println() }