Inflearn Community Q&A
해당 예제에서 줄바꾸기 질문입니다.
Written on
·
281
0
위와 같이 코드를 작성하면 key와 value가 자동으로 줄바꿈이 처리가되서 출력이되는점이 궁금합니다.
for구문에서 순차적으로 k와 v를 받아오고, 같은 print문에서 출력이되는데 어떻게 줄바꿈이 시행되는건가요??
python
Quiz
71% of people got it wrong. Give it a try!
What happens when a file is opened in write mode ('w')?
Content is added at the end of the file.
The existing content of the file is erased and new content is written.
Both read and write modes are activated.
If the file cannot be opened, an error occurs.





