#python #anaconda #jupyter-notebook #visual-code #html #css #javascript #http

제목[re]step.9질문2020-04-15 02:42
작성자

"'#'*3".center(13)은  ['#'*3] 자체를 문자열로 두었기 때문에 ["    '#'*3    "]-> 이와 같은 결과가 나오는 것입니다.


이를 해결할 수 있는 여러 방법 중 하나는 다음과 같습니다.

str('#'*3).center(13) 

댓글
이전step.9질문2020-04-14
다음step8 질문2020-04-14