문제 설명
Coderunner 문제 Mac (Coderunner issues Mac)
코드 러너가 파이썬 파일을 실행한 후에만 올바른 출력을 표시하도록 도와주세요.
예를 들어
여기서 "파이썬 파일 실행" 옵션을 사용했습니다. 터미널에서 작동했고
그런 다음 코드 러너 확장을 사용하여 실행했는데 작동합니다
파이썬 파일로 실행한 후에만 변경됩니다. 따라서 올바른 출력을 표시하려면 터미널에서 실행해야 합니다. 코드 러너는 터미널
참조 솔루션
방법 1:
This may seem obvious but in the third picture, as you can see from the white circle on the tab where the x to close usually resides indicates that you have not saved the file hence it will output results from the last time you ran it using the 'run python file'. The 'run python file' button saves before running automatically so it would be easy to accidently miss the cause as now its saved with the new input and your code runner will output the new result again making it seem as though its duplicating the 'run python file' button.
(by tobikasaba、confuseddotcom)