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

Open Beginner friendly
#1,463 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

Description

PixPin_2024-08-03_10-25-06

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

Dominant language
Python
Stars
2k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

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.

More from InternLM/Tutorial

All issues in InternLM/Tutorial

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.