201flaviosilva-labs / 201flaviosilva-labs/play-code
Progressão Aritmética
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
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)
```
Contributor guide
No contributing guide indexed for this repository
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 40/100