use of continue and break statements with an example in python. Example: how to break a loop in python x = 0 while True: x += 1 if x == 10: break