selfteaching / selfteaching/selfteaching-python-camp

Day2 bitwise运算求解

Open
#5,286 2 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

image
阅读参考资料2,bool()函数很好理解,输入0,=false,任意非0数字,都是True.
但下面,and 和or的运算法则怎么理解?

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 referenced image and reference material 2, focusing on the explanation of Python's bool(), and, and or behavior. Done means the learning material clearly explains the stated and/or rules and resolves the author's question; no repository file or test is named in the issue.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.