How do I add tab completion to my Python (3) code? Let's say I have this code:
test = ("January", "February", "March"...)
print(test)
answer = input("Please select one from the list above: ")
I want the user to type: Jan[TAB] and for it to autocomplete to January. Is there any simple way of doing this? Modules and scripts allowed. Note: The list would be long, with non-dictionary words.