201flaviosilva-labs / 201flaviosilva-labs/play-code
Cálculo do Fatorial
未关闭
适合新手
enhancement
Exercise
good first issue
- 主要语言
- JavaScript
- 星标
- 1
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
```py
num = int(input("Number: "))
result = num
while num != 1:
num -= 1
result *= num
print("Resultado Fatorial: {}".format(result))
```
贡献指南
这个仓库没有索引到贡献指南
调研方向
The issue contains a Python script that calculates a factorial. The script likely has a bug in its logic or output formatting. Start by running the provided code to see its current behavior. Then, compare it to the expected factorial calculation (e.g., handling input 0 or 1). Modify the script in the repository's Python exercise files, test with a few inputs, and ensure the output matches the correct factorial results.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 90/100