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.
Join the #python-forum IRC channel on irc.freenode.net!