인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

랫풀다운's profile image
랫풀다운

asked

Python that anyone can learn, whether they are a liberal arts major or a non-major!

코드 실행이 안되는 것 같습니다

Written on

·

263

0

class에서 self의 존재이유 코드를 순서대로 실행했을때 player2.wow_height는 나왔지만 player1.wow_height는 나오지 않아서 여러번 반복실행해봐도 값이 나오지 않았습니다. 무엇이 문제일까요??
코드python

Answer 1

1

DeepingSauce님의 프로필 이미지
DeepingSauce
Instructor

안녕하세요!

혹시 수업 jupyter 파일에

```

from IPython.core.interactiveshell import InteractiveShell

InteractiveShell.ast_node_interactivity = "all"

```

코드를 실행하셨을가요? 확인부탁드리고

만약에 실행을 하셨음에도 같은 현상이면 혹시 print()를 이용해서 출력하고 싶은 변수에 적용해보시고 알려주시면 감사하겠습니다. 

랫풀다운님의 프로필 이미지
랫풀다운
Questioner

아하 해결됐습니다 감사합니다!^^

랫풀다운's profile image
랫풀다운

asked

Ask a question