We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cca8b7f commit acea245Copy full SHA for acea245
file_handling.py
@@ -0,0 +1,8 @@
1
+file_name = "my_tasks.txt"
2
+
3
+with open(file_name, 'w') as f:
4
+ f.write("1. Attend the meetup")
5
+ f.write("2. Go home and get sleep")
6
+ f.write("3. Make sure you had lunch before going to bed.")
7
8
+print("File written successfully")
0 commit comments