diff --git a/basics.py b/basics.py index d0bd046..821a780 100644 --- a/basics.py +++ b/basics.py @@ -1,4 +1,5 @@ myfile = open("fruits.txt") content = myfile.read() -print(content) +myfile.close() + print(content) \ No newline at end of file