문자열 정렬 기능으로 ljust, center, rjust가 있다. s = 'abc' n = 7 s.ljust(n) #좌측 정렬 s.center(n) #가운데 정렬 s.rjust(n) #우측