함수 center()

Jmnote (토론 | 기여)님의 2021년 10월 4일 (월) 04:08 판
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
  다른 뜻에 대해서는 HTML center 태그 문서를 참조하십시오.
center

1 Python[ | ]

values = (1, 42, 1004, 'abc', 'hello')
for value in values:
    print( str(value).center(6) )
'''
  1   
  42  
 1004 
 abc  
hello 
'''

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}