InternLM / InternLM/Tutorial

ch2_python_intro.md 中集合的定义有错

Open Beginner friendly
#1,278 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

这里t_set = (1, 3, 5 ),应该是{1, 3, 5}
如果定义一个列表,用set方法转成集合后,也确实是{xxx,xxx,xxx},而不是 ( )
![b66ee1191ee92bc78f363d9b68c1d9d](https://github.com/user-attachments/assets/b1bae472-95ff-4c17-a25a-d57f38428480)

Contributor guide

No contributing guide indexed for this repository

Research direction

Open ch2_python_intro.md and locate the t_set example. Check the surrounding explanation of Python sets, then correct the example to use set syntax and ensure the text consistently describes the resulting value. Done means the example and explanation agree.

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
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.