1.
f=open(filename,'w')
f.close()
with open(filename,'w') as f:
key = 3
message = 'LeImo tru, ufh#k ayrae#'
mlist = list(message)
print(mlist)
import numpy as np
marr = np.array(mlist)
marr
marr = np.reshape(marr,(3,8))
marr
message = 'LeImo tru, ufhk ayrae'
mlist = list(message)
mlist.insert(-9,'#')
print(mlist)
message[:-9] + '&' + message[-9:]