Open main menu
CDOT Wiki
β
Search
Changes
← Older edit
Newer edit →
OPS435 Python Lab 5
2 bytes added
,
08:58, 5 September 2017
→
PART 2 - Writing To Files
f = open('file3.txt', 'w')
f.write(str(my_number) + '\n')
for num in
my_lis
my_list:
f.write(str(num) + '\n')
f.close()
Msaul
Administrators
13,420
edits