201flaviosilva-labs / 201flaviosilva-labs/play-code

Progressão Aritmética

Offen
#3 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement Exercise good first issue
Vorherrschende Sprache
JavaScript
Sterne
1
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

```py

termo = int(input("Termo: "))
r = int(input("Razão: "))
max = int(input("Número: "))
result = termo

print("-" * 10)
while result != (termo + ( r * max )):
print(f"{result} → ", end = "")
result += r

print("FIM")
print("-" * 10)

```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

The issue contains a Python script for an arithmetic progression. The script likely has a logical error in the while loop condition. Start by running the script with sample inputs to see the output. Check the repository for similar exercises to understand the expected format. Modify the loop to correctly generate the progression sequence and ensure the output matches the intended pattern.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
40/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.