Please use code tags in the future. They are essential here, and most of the time (and still important the rest of the time).
Your program says, "while x is less than 20, assign to the variable xString the user input". Since what you're doing inside the loop doesn't change the exit condition, it doesn't ever exit. All the code after your single indented line follows the loop, rather than being inside of it. If you want the code to be inside of the loop, indent it to the same level as the line that is in the loop.
Due to the reasons discussed here
we will be moving to python-forum.io
on October 1, 2016.
This forum will be locked down and no one will be able to post/edit/create threads, etc. here from thereafter. Please create an account at the new site to continue discussion.