selfteaching / selfteaching/selfteaching-python-camp

Day05 剔除ea怎么重复出现结果?

Open
#2,978 4 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

list1=t1.split()
list2=[]
str1="ea"
for t1 in list1:
if str1 not in t1:
list2.append(t1)
print(list2)
B8B06A63-5BBA-45fe-91F3-8169D89C46FB

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 Python snippet in the issue, tracing the loop and the location of print(list2). Compare the output after each iteration with the intended Day05 result; done means explaining the repeated output and identifying the smallest correction or clarification needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.