Submission

Status:

PPPP---PPP

Subtask/Task Score:

70/100

Score: 70

User: spiwips

Problemset: ลูกเต๋า (2566)

Language: python

Time: 0.014 second

Submitted On: 2025-09-29 23:17:05

dl = [[ "   "," * ","*  ","* *","* *","* *"],[" * ","   "," * ","   "," * ","* *"],["   "," * ","  *","* *","* *","* *"]]
inp = input()
inp = list(inp)
for i in range(3):
    for j in range(len(inp)):
        c = int(inp[j])
        if 0<c <= 6:
            if j == 2:   
                print(dl[i][c-1],end = '\n')
            else:
                if j+1 <= 2 and (int(inp[j+1])<=0 or int(inp[j+1])>6):
                    print(dl[i][c-1],end = '')
                else:
                    print(dl[i][c-1],end = ' ')
        elif i == 2:
            print('_',end = '')
        else:
            print(' ',end = '')