카테고리 없음

python 문자열 서식 지정과 포매팅 (format, count, index, find, join, list join, split, 대소문자 변환 upper, lower,lstrip, rstrip, strips )

Canyi 2022. 9. 23. 16:24

%d뒤에 %%추가

format 사용법

count 사용법

index , find 사용법

못찾을 경우 -1

join 사용법

List JOIN

split 사용법

return 값은 list

lstrip(왼쪽), rstrip(오른쪽), strips(양쪽) 사용법