SyntaxFix
Write A Post
Hire A Developer
Questions
You shoud do something like :
print line.split()[0]