I added a while loop.
I added a give up thing and while loop.
Merge branch 'master' of https://github.com/mrbbcmicro/PyCode