You just need to use strip() on the second part.
Like this = [x.split(' ')[1].strip() for x in open('StudentVoters.txt').readlines()]