From e96e0d712aeaafc997fbf10b7888506c41dab6ce Mon Sep 17 00:00:00 2001 From: Dan-Mikkel Date: Fri, 24 Feb 2017 22:00:25 +0100 Subject: [PATCH] Renamed test to follow set standard --- alphabetTEST.py => test_alphabet.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) rename alphabetTEST.py => test_alphabet.py (73%) diff --git a/alphabetTEST.py b/test_alphabet.py similarity index 73% rename from alphabetTEST.py rename to test_alphabet.py index 243ed4b..bea7202 100644 --- a/alphabetTEST.py +++ b/test_alphabet.py @@ -4,7 +4,10 @@ rows = 11 text = raw_input('Enter text:\n') c = map(lambda x: ord(x)-ord('a'),text) +s = "" for i in range(rows): for j in c: - print alphabet[j][i], - print "" + s+= alphabet[j][i] + s+= "\n" + +print s