201flaviosilva-labs / 201flaviosilva-labs/play-code
Progressão Aritmética
- Langage dominant
- JavaScript
- Étoiles
- 1
- Forks
- 0
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
```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)
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- cli
- Type d'issue
- Bug
- Difficulté
- 1/5
- Temps estimé
- Moins d'une heure
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 40/100