Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: spiwips

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

Language: python

Time: 0.014 second

Submitted On: 2025-09-29 23:25:20

dl = [
    ["   ", " * ", "*  ", "* *", "* *", "* *"],  
    [" * ", "   ", " * ", "   ", " * ", "* *"],  
    ["   ", " * ", "  *", "* *", "* *", "* *"]   
]

inp = list(input())
n = len(inp)

for i in range(3):  
    for j in range(n):  
        c = int(inp[j])
        if 1 <= c <= 6:
            print(dl[i][c-1], end='')
        else:  
            if i == 2:
                print('___', end='')
            else:
                print('   ', end='')
        if j != n-1:
            print(' ', end='')  
    print()