I want to check a specific part of an input but I don't know "where" it is
I tried with this: a = input('Enter command')
if a[0:5] == '(Command name)':
if a[7:?] == '(Subject)':
if a[?:len(a)] == '(Choice)':
To be continued
So, the input is divided into three parts; The command, the subject, and which type of the command it will run. But which index should the ? be? I don't know the length of the word. Is it impossible?
No, I know that I can make it, just not how.