From 694675212c175438674e2485a0e19bf1eb09c43c Mon Sep 17 00:00:00 2001 From: borislav nikolov Date: Sat, 21 Oct 2023 11:04:35 +0200 Subject: [PATCH] today --- week-048.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/week-048.md b/week-048.md index 5d9902af..5685f514 100644 --- a/week-048.md +++ b/week-048.md @@ -70,3 +70,18 @@ int main(void){ } ``` + + +## [DAY-361] files + + +write multipe lines in a file using python + +``` +fout = open('output.txt', 'w') +line1 = "This here\'s the wattle,\n" +fout.write(line1) +line2 = "the emblem of our land.\n" +fout.write(line2) +fout.close() +```