강의

멘토링

커뮤니티

Inflearn Community Q&A

devwriter's profile image
devwriter

asked

Getting Started with Programming: Introduction to Python (Inflearn Original)

How to use Python Print (1-1): Let's print various things.

print함수 %f형식 설명에 오류가 있는거 아닌가요?

Written on

·

204

0

강의에서 print('%1.5f' % (3.12132423413)) 와 같은 예문 설명하실때

1.5를 [정수부 자리수.소수부 자리수] 라고 반복적으로 설명하셨는데

[전체 자리수.소수부 자리수] 라고 하셔야 맞는것 아닌가요?

실행 결과가 이해가 안되서 찾아보니까 설명이 틀린것 같아서 정정 부탁드립니다

python

Answer 1

1

niceman님의 프로필 이미지
niceman
Instructor

네 안녕하세요.

전체 자릿수가 첫 번째가 맞습니다.

한 번 강의를 살펴보도록 하겠습니다.

감사합니다.

devwriter's profile image
devwriter

asked

Ask a question