コード例 #1
0
ファイル: mymain.py プロジェクト: airbornepathfinder/mycode
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
コード例 #2
0
ファイル: unpacking09.py プロジェクト: bidhudas/python_api
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