Add space behind the colon
Changed the while statement to a for statement
Change the variable name
Replase the split statement to more clealy one