Why is closing a file needed? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why is closing a file needed?

After opening a file, writing the code, they say you should close it, but I've written a few bits and it seems to be functioning just fine. So why close a file?

12th Apr 2021, 12:49 PM
Hyxis
2 Answers
13th Apr 2021, 6:50 AM
A͢J
A͢J - avatar