<jupyter_start><jupyter_text>**题目：**学习使用按位或 | 。**程序分析：**0|0=0; 0|1=1; 1|0=1; 1|1=1<jupyter_code>#!/usr/bin/python
# -*- coding: UTF-8 -*-
 
if __name__ == '__main__':
    a = 77
    b = a | 3
    print( 'a | b is %d' % b)
    b |= 7
    print ('a | b is %d' % b)<jupyter_output>a | b is 79
a | b is 79
{'fraction_non_alphanumeric': 0.23588039867109634, 'fraction_numerical': 0.06976744186046512, 'mean_word_length': 2.728395061728395, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '86284', 'license': 'MIT', 'n_tokens_mistral': 176, 'n_tokens_neox': 163, 'n_words': 36, 'path': 'Python3/ Python181103-052.ipynb', 'repo_name': 'UncleLincoln/trainee', 'size': '301'}