Changes

Jump to: navigation, search

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_lismy_list:
f.write(str(num) + '\n')
f.close()
13,420
edits

Navigation menu