selfteaching / selfteaching/selfteaching-python-camp

Day05 使用多个分隔符、赋值新列表

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

此题的解题第一步我尝试使用re.split()来一次性多次分割字符串来得到列表,但此函数貌似不输出新列表。请问这题的分割正确应该怎样做?
image

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

The issue concerns the Day05 exercise and Python's re.split(); start by reading that exercise and the linked image, then verify the intended multiple-separator behavior in Python's re documentation. Done means the exercise explains how the resulting list is assigned and includes a clear, correct example.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.