<reponame>camelCasedAdi/Python-Programming-Tutorials<gh_stars>0
file = open('file.txt', 'r')
f = file.readlines()

filelist = []
for line in f:
    filelist.append(line.strip())

print(filelist)
file = open('file.txt', 'r')
f = file.readlines()

filelist = []
for line in f:
    filelist.append(line.strip())

print(filelist)