lst = ["12-05-1986", "14-23-2019", "01-01-2001", "14-12-2012", "17-02-1976"]
f = open('config.data', 'w+')
a = str("cannot assign to literal")
def writeConfig():
    open('config.data')
    data = f.readlines()
    for a in f:
        print("done")
    else:
        f.write(str('Configuration file! Do not modify!'))
    f.closed
writeConfig()

