-
Notifications
You must be signed in to change notification settings - Fork 0
/
Nomes.py
65 lines (62 loc) · 3.12 KB
/
Nomes.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
opc = "S"
while (opc == "S"):
nome = input("Digite seu nome: ")
for l in nome:
l = l.upper()
if (l == "A"):
print("..######..\n..#....#..\n..######..\n..#....#..\n..#....#..\n\n")
elif (l == "B"):
print("..######..\n..#....#..\n..#####...\n..#....#..\n..######..\n\n")
elif (l == "l"):
print("..######..\n..#.......\n..#.......\n..#.......\n..######..\n\n")
elif (l == "D"):
print("..#####...\n..#....#..\n..#....#..\n..#....#..\n..#####...\n\n")
elif (l == "E"):
print("..######..\n..#.......\n..#####...\n..#.......\n..######..\n\n")
elif (l == "F"):
print("..######..\n..#.......\n..#####...\n..#.......\n..#.......\n\n")
elif (l == "G"):
print("..######..\n..#.......\n..#####...\n..#....#..\n..#####...\n\n")
elif (l == "H"):
print("..#....#..\n..#....#..\n..######..\n..#....#..\n..#....#..\n\n")
elif (l == "I"):
print("..######..\n....##....\n....##....\n....##....\n..######..\n\n")
elif (l == "J"):
print("..######..\n....##....\n....##....\n..#.##....\n..####....\n\n")
elif (l == "K"):
print("..#...#...\n..#..#....\n..##......\n..#..#....\n..#...#...\n\n")
elif (l == "L"):
print("..#.......\n..#.......\n..#.......\n..#.......\n..######..\n\n")
elif (l == "M"):
print("..#....#..\n..##..##..\n..#.##.#..\n..#....#..\n..#....#..\n\n")
elif (l == "N"):
print("..#....#..\n..##...#..\n..#.#..#..\n..#..#.#..\n..#...##..\n\n")
elif (l == "O"):
print("..######..\n..#....#..\n..#....#..\n..#....#..\n..######..\n\n")
elif (l == "P"):
print("..######..\n..#....#..\n..######..\n..#.......\n..#.......\n\n")
elif (l == "Q"):
print("..######..\n..#....#..\n..#.#..#..\n..#..#.#..\n..######..\n\n")
elif (l == "R"):
print("..######..\n..#....#..\n..#.##...\n..#...#...\n..#....#..\n\n")
elif (l == "S"):
print("..######..\n..#.......\n..######..\n.......#..\n..######..\n\n")
elif (l == "T"):
print("..######..\n....##....\n....##....\n....##....\n....##....\n\n")
elif (l == "U"):
print("..#....#..\n..#....#..\n..#....#..\n..#....#..\n..######..\n\n")
elif (l == "V"):
print("..#....#..\n..#....#..\n..#....#..\n...#..#...\n....##....\n\n")
elif (l == "W"):
print("..#....#..\n..#....#..\n..#.##.#..\n..##..##..\n..#....#..\n\n")
elif (l == "X"):
print("..#....#..\n...#..#...\n....##....\n...#..#...\n..#....#..\n\n")
elif (l == "Y"):
print("..#....#..\n...#..#...\n....##....\n....##....\n....##....\n\n")
elif (l == "Z"):
print("..######..\n......#...\n.....#....\n....#.....\n..######..\n\n")
elif (l == " "):
print("..........\n..........\n..........\n..........\n\n")
elif (l == "."):
print("----..----\n\n")
opc = input("Digite 'S' para fazer uma nova operação, ou 'N' para sair: ").upper()