Example #1
0
def main():
    """runtime code"""
    while (True):
        print("Results: ", find(*getuserinput(), EXCLUDE))
        if (input("\nPress n to quit or any other key to search again ").lower(
        ) == "n"):
            break
Example #2
0
def main():
    """runtime code"""
    while (True):
        print("Results: ",
              find(*getuserinput(),
                   EXCLUDE))  # call function with argument unpacking
        if (input("\nPress n to quit or any other key to search again").lower(
        ) == "n"):
            break