201flaviosilva-labs / 201flaviosilva-labs/play-code
Progressão Aritmética
- 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