# 공백은 공백으로 두고, 오른쪽 정렬, 10칸 확보
print("{: >10}".format(500))
# 양수일 떄는 +, 음수일 때는 -
print("{: >+10}".format(500))
print("{: >+10}".format(-500))
# 왼쪽 정렬, 빈칸을 _ 로 채우기
print("{:_<+10}".format(-500))
# 3자리 마다 , 찍기
print("{:,}".format(10000000000))
# 3자리 마다 , 찍고 부호
print("{:+,}".format(-100000000000))
# 빈칸 뭘로 채울지 정하고, 정렬 방향 정하고, 부호, 자리수, 콤마
print("{0:?<+30,}".format(-100000000000))
# 소수점 출력
print("{:f}".format(5/4))