You have a break outside of a loop, which is a syntax error. It looks like you're running your scripts on Windows, which means you should use an IDE such as IDLE or open a terminal and run your scripts from it rather than double clicking it.
The problem with your code is that you don't understand indentation's role in Python. Things which are indented underneath a block, such as if/for/while are inside of it. Since you dedented the part which has the break, which means you left the while block you created, it's not inside and so you get a syntax error.
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.