Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Incorrect use of reverse in problem 20

Open
#210 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
content

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from zhiwehu/Python-programming-exercises

All issues in zhiwehu/Python-programming-exercises

Similar issues

More Content issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.