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