import alfabet_ascii
print(alfabet_ascii.H, alfabet_ascii.E, alfabet_ascii.L, alfabet_ascii.L, alfabet_ascii.O)
H H
H H
H H
HHHHH
H H
H H
H H
EEEEE
E
E
EEE
E
E
EEEEE
L
L
L
L
L
L
LLLLL
L
L
L
L
L
L
LLLLL
OOO
O O
O O
O O
O O
O O
OOO
A = """
A
A A
A A
AAAAA
A A
A A
A A
"""
B = """
BBBB
B B
B B
BBBB
B B
B B
BBBB
"""
C = """
CCC
C C
C
C
C
C C
CCC
"""
D = """
DDDD
D D
D D
D D
D D
D D
DDDD
"""
E = """
EEEEE
E
E
EEE
E
E
EEEEE
"""
F = """
FFFFF
F
F
FFF
F
F
F
"""
* * *
A = """
A
A A
A A
AAAAA
A A
A A
A A
"""
B = """
BBBB
B B
B B
BBBB
B B
B B
BBBB
"""
C = """
CCC
C C
C
C
C
C C
CCC
"""
D = """
DDDD
D D
D D
D D
D D
D D
DDDD
"""
E = """
EEEEE
E
E
EEE
E
E
EEEEE
"""
F = """
FFFFF
F
F
FFF
F
F
F
"""
import alphabet_ascii as alfabet_ascii
alph = {'A':alfabet_ascii.A,
'B': alfabet_ascii.B,
'C': alfabet_ascii.C,
'D': alfabet_ascii.D,
'E': alfabet_ascii.E}
def make_symbols(symbols):
lines = []
for number, _ in enumerate(alph['A'].splitlines()):
line = [alph[symbol].splitlines()[number] for symbol in symbols]
line = ' '.join(line)
lines.append(line)
text = '\n'.join(lines)
return text
print(make_symbols('ABCDE'))
import alfabet_ascii
letters = [alfabet_ascii.H, alfabet_ascii.E,
alfabet_ascii.L, alfabet_ascii.L, alfabet_ascii.O]
row = 0
while row < 7:
line = ""
column = 0
while column < len(letters):
letter = letters[column]
line += letter[row] + " "
column += 1
print(line)
row += 1
A = [" A ", " A A ", "A A", "AAAAA", "A A", "A A", "A A"]
B = ["BBBB ", "B B", "B B", "BBBB ", "B B", "B B", "BBBB "]
H = ["H H", "H H", "H H", "HHHHH", "H H", "H H", "H H"]
E = ["EEEEE", "E ", "E ", "EEE ", "E ", "E ", "EEEEE"]
L = ["L ", "L ", "L ", "L ", "L ", "L ", "LLLLL"]
O = [" OOO ", "O O", "O O", "O O", "O O", "O O", " OOO "]