Skip to content

(유*진, 강의노트 1장) 자료형 확인 #8

@Yuhojin-student

Description

@Yuhojin-student

파이썬에서 정수 나눗셈을 한 뒤 나눗셈 결과과 정수일 때도 왜 항상 float 자료형으로 나오는 것인지 궁금합니다.

수학적으로는 결과가 정수인데도 파이선에서는 실수형으로 반환되도록 설계된 이유가 궁금합니다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions