Skip to content

Commit 886b14f

Browse files
author
Yogesh
committed
Add new file created by the script
1 parent c6b1639 commit 886b14f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

DemoFile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ def add_numbers(a, b):
88
print("The sum is:", result)
99
# Create a new file and write some content to it
1010
with open("new_file.txt", "w") as file:
11-
file.write("This is a new file created by the script.")
11+
file.write("This is a new file created by the script." )
12+
file.write("This is a new file created by the script.")

0 commit comments

Comments
 (0)