srikrishna1 commited on
Commit
fa98ead
·
verified ·
1 Parent(s): 969cf65

Update sample_script.py

Browse files
Files changed (1) hide show
  1. sample_script.py +8 -8
sample_script.py CHANGED
@@ -1,8 +1,8 @@
1
- # /home/user/Desktop/script.py
2
-
3
- output_path = "/home/user/Desktop/output.txt"
4
-
5
- with open(output_path, "w") as f:
6
- f.write("Hello from sample Python script!\n")
7
-
8
- print(f"Output written to {output_path}")
 
1
+ # /home/user/Desktop/script.py
2
+
3
+ output_path = "/home/user/Desktop/output.txt"
4
+
5
+ with open(output_path, "w") as f:
6
+ f.write("Hello from sample Python script!")
7
+
8
+ print(f"Output written to {output_path}")