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() +```