Update ~script.py (#990)
Update ~script.py (#990)

Changing the boolean expression avoids the use of a continue statement.
This way the code becomes easier/faster to compute on lower level and it has a
better coding style.
TheAlgorithms/Python