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

Progressão Aritmética

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
enhancement Exercise good first issue
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.