Add a one-line docstring to any Python solution (5 min)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 92/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
grep -rL '"""' solutions/python/ を実行して候補ファイルを一覧表示し、次に任意の solutions/python/practiceN.py を開いて最初の def 行を見つけます。その直下に """Short description.""" の行を 1 行だけ追加し、ファイルの残りの部分は変更しないでください。完了とは、1 つのファイルに docstring があり、diff がその行だけを示し、pull request がオープンされている状態です。
索引モデルが issue の本文から書いたものです。
説明
Add a one-line docstring to any Python solution (5 min)
Most solution files have a function but no docstring. That makes it hard to understand what the function does at a glance. This issue is about adding exactly one line.
Time: ~5 minutes | Level: Complete beginner
What to do
Pick any file in solutions/python/ where the first function has no docstring. Add one line immediately after the def line:
def two_sum(nums, target):
"""Return indices of two numbers in nums that add up to target."""
...
That is the whole change. One line. You are done.
Rules
- Pick any
solutions/python/practiceN.pyfile where the main function has no docstring - Add a single
"""Short description."""line as the first line inside the function - Do not change anything else in the file
- Open a Pull Request
You can claim as many files as you want, one PR per file or batch them together.
How to find files that need a docstring:
grep -rL '"""' solutions/python/
That lists every Python file with no triple-quote string at all.
Open for everyone
This issue is open for everyone: beginners, experienced developers, students, and people who don't code at all. Any language, any level, no experience required. If you want to help, you are welcome here.
How to contribute
- Fork this repo
- Clone your fork and create a new branch
- Make your change
- Commit, push, and open a Pull Request
New to open source? Start here before anything else:
First Contributions - github.com/firstcontributions/first-contributions
Prefer video? Watch this: How to contribute on GitHub (YouTube)
If this repo helps you or you like where it is going, a star is a nice way to say thanks and helps other people find it. Entirely optional, and you do not need it to contribute.
- 主要言語
- Python
- スター
- 3
- フォーク
- 2
- 平均マージ
- 3時間
- マージ済み PR(30日)
- 44
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Huerte/algo-solutions-python のほかの issue
-
5-minutes algorithm all-levels any-language beginner-friendly community documentation easy first-timers-only good first issue hacktoberfest help wanted learning no-code-needed open-source python students
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Huerte/algo-solutions-python#281 ·
メンテナーはふだん 1 日以内に返信
-
15-minutes algorithm all-levels any-language beginner-friendly codewars good first issue hackerrank help wanted interview-prep leetcode open-source students
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
Huerte/algo-solutions-python#279 ·
メンテナーはふだん 1 日以内に返信
-
5-minutes beginner-friendly documentation good first issue hacktoberfest help wanted no-code-needed python
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
Huerte/algo-solutions-python#278 ·
メンテナーはふだん 1 日以内に返信
-
5-minutes all-levels beginner-friendly codewars documentation good first issue hackerrank hacktoberfest interview-prep leetcode no-code-needed open-source students
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
Huerte/algo-solutions-python#276 ·
メンテナーはふだん 1 日以内に返信
-
Add one LeetCode, Codewars or HackerRank solution you have already solved対応中かも @d1vyPandey が今日担当しました。 オープン5-minutes algorithm all-levels any-language beginner-friendly codewars easy good first issue hackerrank hacktoberfest help wanted interview-prep leetcode open-source students
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
Huerte/algo-solutions-python#263 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
Huerte/algo-solutions-python の issue をすべて見る
似ている issue
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
LinkedEarth/Pyleoclim_util#718 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
apache/flink-agents#1395 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
pybamm-team/PyBaMM#6061 ·
メンテナーはふだん 2 日以内に返信
-
A wall-clock ceiling in test_rest_import_off_the_loop turns the gate red on unrelated pull requestsオープンbug help wanted quality
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
pyrite-wiki/pyrite#1550 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
daniel-ospina/tortoise#13049 ·
メンテナーはふだん 1 日以内に返信