Inflearn Community Q&A
python shell로 실행시 오류 발생합니다 ㅠㅠ
Resolved
Written on
·
640
0
python shell로 실행시 오류 발생합니다 ㅠㅠ
왜 이런건가요 ㅠㅠ
python코테 준비 같이 해요!
Answer 3
0
0
codingcamp
Instructor
n=int(input()) 이렇게 n을 int형으로 해서 나누기 연산을 해야 합니다.
n=input()으로 받으면 n은 자료형이 str형이며 나누기 연산을 할 수 없습니다.
0





