강의

멘토링

커뮤니티

Inflearn Community Q&A

call2dblu's profile image
call2dblu

asked

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

Numeric type (1-1): The basis of calculation is numeric type.

실수 출력 시 소수점 자릿수가 나오지 않는 오류

Written on

·

439

0

강사님의 화면과 다르게 제가 f4를 출력 시 0으로만 나옵니다.

따로 변경한 옵션이 없는데 왜 다르게 나올까요?

참고로 맥 OS 사용하고 있습니다.

python

Answer 1

0

niceman님의 프로필 이미지
niceman
Instructor

오 처음보는 현상이네요 python 버전이 정확한지 모르겠습니다.

일단 float로 형변환 한 번 해보시는 것을 추천드려요.

지금 실행한 제 환경입니다.

call2dblu's profile image
call2dblu

asked

Ask a question