Add a one-line docstring to any Python solution (5 min)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 85/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- documentation
Línea de trabajo
Elige un archivo en solutions/python/ cuya función principal no tenga docstring; el issue sugiere grep -rL '"""' solutions/python/ para encontrar candidatos. Añade una línea breve de docstring inmediatamente después de la línea def de la función y deja el resto del archivo sin cambios. La tarea está terminada cuando la función seleccionada tiene un docstring claro de una línea y el cambio se envía en una pull request.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 3
- Forks
- 2
- Merge medio
- 3 h 8 min
- PR fusionados (30 d)
- 37
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Huerte/algo-solutions-python
-
15-minutes 5-minutes algorithm any-language beginner-friendly c cpp csharp easy go good first issue hacktoberfest help wanted java javascript kotlin python rust swift typescript
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Huerte/algo-solutions-python#254 ·
Los mantenedores suelen responder en 1 día
-
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
Dificultad 2/5 Menos de una hora Aptitud para principiantes 88/100
Huerte/algo-solutions-python#253 ·
Los mantenedores suelen responder en 1 día
-
15-minutes algorithm all-levels any-language beginner-friendly codewars good first issue hackerrank help wanted interview-prep leetcode open-source students
Dificultad 2/5 Menos de una hora Aptitud para principiantes 80/100
Huerte/algo-solutions-python#248 ·
Los mantenedores suelen responder en 1 día
-
5-minutes algorithm all-levels any-language beginner-friendly codewars easy good first issue hackerrank hacktoberfest help wanted interview-prep leetcode open-source students
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
Huerte/algo-solutions-python#244 ·
Los mantenedores suelen responder en 1 día
-
5-minutes all-levels beginner-friendly codewars documentation good first issue hackerrank hacktoberfest interview-prep leetcode no-code-needed open-source students
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
Huerte/algo-solutions-python#243 ·
Los mantenedores suelen responder en 1 día
Todos los issues de Huerte/algo-solutions-python
Issues similares
-
AI bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
AUTO-MAS-Project/AUTO-MAS#1960 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
btclib-org/btclib-wallet#872 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: Scheduled returns scan all accepted minion keys causing extreme loadPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
saltstack/salt#70789 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
btclib-org/btclib#3093 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día