프로그래밍 언어/Python

Python_숫자 천단위로 콤마(,)넣기 (금액)

OHSAYU 2022. 12. 13. 22:15

format 내장 함수를 사용

format(1493500, ',')
>>>
'250,000,000'