Skip to content

Commit acb6ecb

Browse files
Merge pull request geekcomputers#86 from Henocks/patch-1
Update testlines.py
2 parents 42870c9 + b617329 commit acb6ecb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testlines.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
# Description : This very simple script open a file and prints out 100 lines of whatever is set for the line variableest you want to print\n" # This sets the variable for the text that you want to print
1010

1111

12-
def write_to_file(filename,txt):
13-
with open(filename,'w') as file_object:
12+
def write_to_file(filename, txt):
13+
with open(filename, 'w') as file_object:
1414
s = file_object.write(txt)
1515

1616

1717
if __name__ == '__main__':
18-
write_to_file('test.txt', 'i am beven')
18+
write_to_file('test.txt', 'I am beven')
1919

0 commit comments

Comments
 (0)