xxxxxxxxxx
# This straightforward and covenient:
# copy and run code to see functionallity
#!/usr/bin/python3
import sys
foo = 56
if (foo != 67):
print("ERROR: Invalid value for foo")
sys.exit(1)
xxxxxxxxxx
number = 0
for number in range(10):
if number == 5:
break # break here
print('Number is ' + str(number))
print('Out of loop')