I am currently writing my first program (YT Downloader), which includes collecting user decisions on certain actions. Currently, I check for user decisions using formulas like this:
while True:
    downloadCheck = input("\nDo you want to download this video? (y/n) ")
    if downloadCheck == "y":
        download()
        break
    elif downloadCheck == "n":
        print("No download triggered. Program will exit")
        break
    else:
        print(r'Please answer using "y" for yes or "n" for no')
        continue
I do use this while true --> if/elif/else combination quite a lot of times in the code and was wondering if there is a simpler / more elegant / more professional way to check the user input.
Thankful for recommendations!
