Open dionegoh opened 2 years ago
We have already specified that the format of the command has to intake a positive integer, as any nonpositive integer will show an error message. Since the format only allows positive integers, inputting a 0 is considered the wrong format. Only if integers such as 999 is the input, then will trigger an invalid index error.
Team chose [response.Rejected
]
Reason for disagreement: [replace this with your explanation]
should throw an invalid index error instead of invalid command format error