selfteaching / selfteaching/selfteaching-python-camp

Day05 关于删除ea的操作问题

Open
#3,437 7 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

因为文本中没有单独一个词叫做ea,在尝试了用替换str.replace的方法失败了之后知道,需要把字符进行拆分,拆分之后,用for循环if判断。把能想到的方法都试了一遍还是卡住了,进行不下去。不知道问题出在哪里,所以提出来请大家帮忙看看问题出在哪里了?
删除ea
删除ea

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 with the Day05 exercise and inspect the two linked screenshots alongside the attempted str.replace, character splitting, loop, and conditional approaches. Reproduce the reported failure and identify why the expected removal of “ea” does not occur; the issue is done when the intended text output is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
developer-experience
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.