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

Progressão Aritmética

Đang mở
#3 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement Exercise good first issue
Ngôn ngữ chính
JavaScript
Star
1
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

```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)

```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
cli
Loại issue
Lỗi
Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
40/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.