I am getting an error from this Python code:
with open(\'names\') as f: names = f.read() names = names.split(\'\\n\') names.pop(len(names) - 1) n
I was faces this issue but after change object into str, problem solved. str(fname).isalpha():