InternLM / InternLM/Tutorial

ch2_python_intro.md 中逻辑运算符示例有错

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

Description

![PixPin_2024-08-03_10-25-06](https://github.com/user-attachments/assets/2741a56f-5604-41d9-a17a-c156d4eca4dc)

print("a and b =",a and b)
print("a or b =",a and b)
print("not b =",not a)
图上第二个和第三个都写错了,下面对应的结果也不对

Contributor guide

No contributing guide indexed for this repository

Research direction

Open ch2_python_intro.md and inspect the logical-operator example shown in the issue. Correct the second and third expressions and their displayed results according to Python's operator behavior, then review the rendered Markdown to confirm the example is consistent.

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
85/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.