dict1= {0:' - ',1:' ',2:' - ',3:' - ',4:' ',5:' - ',6:' - ',7:' - ',8:' - ',9:' - '}
dict2= {0:'| |',1:' |',2:' |',3:' |',4:'| |',5:'| ',6:'| ',7:' |',8:'| |',9:'| |'}
dict3= {0:' ',1:' ',2:' - ',3:' - ',4:' - ',5:' - ',6:' - ',7:' ',8:' - ',9:' - '}
dict4= {0:'| |',1:' |',2:'| ',3:' |',4:' |',5:' |',6:'| |',7:' |',8:'| |',9:' |'}
dict5= {0:' - ',1:' ',2:' - ',3:' - ',4:' ',5:' - ',6:' - ',7:' ',8:' - ',9:' - '}
while (1):
num=str(input('请输入整数:'))
list1=[]
list2=[]
list3=[]
list4=[]
list5=[]
for each in num:
eachnum=int(each)
list1.append(dict1[eachnum])
list2.append(dict2[eachnum])
list3.append(dict3[eachnum])
list4.append(dict4[eachnum])
list5.append(dict5[eachnum])
for each in list1:
print(each,end=' ')
print(' ')
for each in list2:
print(each,end=' ')
print(' ')
for each in list3:
print(each,end=' ')
print(' ')
for each in list4:
print(each,end=' ')
print(' ')
for each in list5:
print(each,end=' ')
print(' ')
input('请按回车键继续')