5 ms·
Nice example. But two typos, Missing a close paren to open(); and splitlines() is misspelled. Code should be: with open('salary.txt') as f: X = f.read().spli
by gshubert17 9y ago
Nice example. But two typos,
Missing a close paren to open(); and splitlines() is misspelled. Code should be:
with open('salary.txt') as f:
X = f.read().splitlines()
- mubaris 9y agoThanks. Fixed typos