
# https://www.globalsino.com/ICs/
# Break a code line after a certain time 

import time

def theMainFunc():
    start = time.time()
    # Break "print("XYZ")" after 0.05 second
    while (time.time() - start < 0.05):
        print("XYZ")
        # Can put some function below
        # CallFunc()
    return

theMainFunc()
