Inflearn brand logo image

Inflearn Community Q&A

gomadafter6254's profile image
gomadafter6254

asked

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

Python Basic Environment Settings (2-1): Development Environment Settings (Vscode) - Windows

vs code 와 python shell 차이점 질문

Written on

·

177

0

안녕하세요

python shell에선 3+3 하면 바로 6이라는 결과가 나오는데

vscode에선 왜 print(3+3) 이런식으로 넣어야 결과가 출력되는건가요?

 

python

Answer 1

2

niceman님의 프로필 이미지
niceman
Instructor

네 안녕하세요.

일반적인 python shell에서는 print() 함수 파이프라인이 

자동으로 실행된다고 보시면되요!

즉, vscode, atom 등 ide에서는 print() 함수 사용으로 명시를 해줘야 출력이고

쉘에서는 즉시 출력이 가능하다고 이해하시면되여~

gomadafter6254's profile image
gomadafter6254

asked

Ask a question