The code does not returns the contents of text file, instead an empty string
a = open('myfile.txt', 'w+')
list01 = ['content from list 01 ~']
list02 = ['content from list 02 ']
a.writelines(list01)
a.writelines(list02)
b = open('myfile.txt', 'r+')
c = b.readline()
print("This is c: ", c)