import sys
while True:
    b=sys.stdin.readline()
    if b=='.':
        break

여기서 '.' 라고 입력받으면 break 안되고 왜 계속됨?? 이유를 모르겠음..