selfteaching / selfteaching/selfteaching-python-camp

Day03 计算器问题

Open
#2,202 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
151
Forks
875
PR merge metrics
No merged PRs in 30d

Description

图片

问题1:之前运行次程序后没问题,存到本地的excise文件夹后运行就报错了。
问题2:定义def add(x, y) def sub(x, y) def multi(x, y)的时候按格式输入都可以跑出结果,对def div(x, y)输入时,却提示错误。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the attached screenshot and review the Day03 calculator exercise. Reproduce both failures from the local exercise folder, comparing the div function and its input with add, sub, and multi. Done means the exercise runs from that folder and all four operations produce results without errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.