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
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