From 7a8b9ff7b9bb38722f59ced17822d3f77fe73b23 Mon Sep 17 00:00:00 2001 From: tauseef-a <40712942+tauseef-a@users.noreply.github.com> Date: Tue, 28 Sep 2021 15:10:39 +0530 Subject: [PATCH] Update hello_world.py --- scripts/hello_world.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/hello_world.py b/scripts/hello_world.py index 48e7373..7e3a776 100644 --- a/scripts/hello_world.py +++ b/scripts/hello_world.py @@ -22,7 +22,9 @@ def Main(): myThread = threading.Thread(target=MyFunction) myThread.start() # Starting a thread fp = open("def.txt") - fp.close() + print("File opened success") + ilist = ['apple','cat','bat'] + ilist.append('dog') if __name__ == '__main__':