Aug-23-2020, 04:53 AM
The string isn't an f-string, so the test is for whether the literal string "{choice}" is in self._command. Since it isn't an f-string, the value of the variable choice is irrelevant. Did you try running a complete program with that code and appropriate values?