201flaviosilva-labs / 201flaviosilva-labs/play-code
Progressão Aritmética
- Linguagem predominante
- JavaScript
- Estrelas
- 1
- Forks
- 0
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
```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)
```
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- python
- Domínio
- cli
- Tipo de issue
- Bug
- Dificuldade
- 1/5
- Tempo estimado
- Menos de uma hora
- Status de atividade
- Estagnada
- Clareza
- Claramente especificada
- Facilidade para iniciantes
- 40/100