Incorrect use of reverse in problem 20
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 48/100
Research direction
Find the source entry for problem 20 and inspect the loop using reverse(100) and j. Replace the invalid reverse usage with the loop form shown in the issue, remove the unnecessary j, and confirm the exercise remains correct.
Written by the indexing model from the issue text.
Description
reverse(100) is not valid Python syntax here.
this would be right:
for i in range(100, -1, -1):
also, j is not needed here.
- Dominant language
- No language data
- Stars
- 29.7k
- Forks
- 7k
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from zhiwehu/Python-programming-exercises
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
zhiwehu/Python-programming-exercises#192 · 2 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
zhiwehu/Python-programming-exercises#82 · 2 comments ·
-
PythonOpen
Difficulty 5/5 Over a week Newbie friendliness 5/100
zhiwehu/Python-programming-exercises#204 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
All issues in zhiwehu/Python-programming-exercises
Similar issues
-
lesson-submission needs-ac pending-review
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Ikalus1988/MisakaNet#2867 ·
Maintainers usually reply within 1 day
-
Add: TecAdRise BotOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
prime-radiant-inc/alltheagents.org#44 ·
Maintainers usually reply within 1 day
-
check:passed streams:add
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
needs review new event
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
processing/processing-community-day#333 · 1 comment ·
Maintainers usually reply within 1 day
-
feedback simulation workshop
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
githubnext/gh-aw-workshop#4218 ·
Maintainers usually reply within 1 day