From 6e495aa3ce44f46aa9224d2c4987bf20cf5bfa7a Mon Sep 17 00:00:00 2001 From: Hebron Hossain Hamim <47009676+hhhameem@users.noreply.github.com> Date: Sat, 24 May 2025 19:16:01 +0600 Subject: [PATCH] Fixing a typo in Section 6 Part 2 There is a typo in part-6, section-2 under the "Appending data to an existing file" heading in line no 3. The word is fixed from "exatly" to "exactly" --- data/part-6/2-writing-files.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/part-6/2-writing-files.md b/data/part-6/2-writing-files.md index 4d21ca4f3..aa3dd9dbf 100644 --- a/data/part-6/2-writing-files.md +++ b/data/part-6/2-writing-files.md @@ -107,7 +107,7 @@ Hi Ada, we hope you enjoy learning Python with us! Best, Mooc.fi Team If you want to append data to the end of a file, instead of overwriting the entire file, you should open the file in append mode with the argument `a`. -If the file doesn't yet exist, append mode works exatly like write mode. +If the file doesn't yet exist, append mode works exactly like write mode. The following program opens the file `new_file.txt` and appends a couple of lines of text to the end: