← Back to List

5789번: 한다 안한다 ↗

Solutions

Python 3
130 B | 130 chars
for i in range(0,int(input())):
    L=input()
    if(L[len(L)//2-1] == L[len(L)//2]): print("Do-it")
    else: print("Do-it-Not")