RunestoneInteractive / RunestoneInteractive/pythonds
Incorrect Validation in infoxtoPostdix selfcheck problem
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 273
- Forks
- 160
- PR merge metrics
- No merged PRs in 30d
Description
Error reported in course pythonds on page InfixPrefixandPostfixExpressions by user vemkiran vemkiran@gmail.com
In the last self check question that states "Modify the infixToPostfix function so that it can convert the following expression", the expression provides is "5 * 3 ** (4 - 2) ".
So the answer generated by the program is "5 3 4 2 - ** *"
But when I enter that answer and submit, it says incorrect. But when I replace ** with ^, it accepts it as a correct solution.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the pythonds course on the InfixPrefixandPostfixExpressions page and inspect the last self-check for the infixToPostfix exercise. Compare the answer generated for the reported expression with the validation rule, then confirm that the intended equivalent answer is accepted by submitting the self-check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- content
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100