selfteaching / selfteaching/selfteaching-python-camp

Day03 编写好计算器,运行时报错

Open
#3,356 8 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、SyntaxError: invalid character in identifier 2、IndentationError: unexpected indent 3、SyntaxError: invalid syntax。在变量operator中有报错下划红色波浪线,已经把所有符号改成英文的了,还是报错。

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

Start by reproducing the Day03 calculator and inspect the line where the editor marks operator with a red underline. Check the reported syntax and indentation errors together, then confirm that the calculator runs without those three errors.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.