Add a line count to the summary

Aperta
#2 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

@github-actions ci sta già lavorando.

Dal 8/11/2026.

  • #7 di @github-actions — aperta

Valutazione

Difficoltà
1/5
Tempo stimato
1-3 ore
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Find the existing word and character count functions and their tests, then follow the same entry points for line counting. Check empty text and text without line breaks, and add tests for both cases. Done when line_count(text) returns zero for empty text and one for text without line breaks; an open pull request already addresses this issue.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement good first issue

It would help to know how many lines a piece of text has, as well as words and characters.

  • Add a line_count(text) function.
  • Empty text should have no lines.
  • Text with no line breaks is one line.

There's a pull request for this: "Add a line count".

Lingua principale
Python
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Community-Access/quill-github-practice

Tutte le issue di Community-Access/quill-github-practice

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.