<jupyter_start><jupyter_text>Boolean Operators<jupyter_code>print(10>9)
print(10>9)
print(10==9)
a=10
b=9

print(a>b)
print(a<b)
print(a==b)<jupyter_output>True
False
False<jupyter_text>Bool Function<jupyter_code>print(bool(5))
print(bool("Marg"))
print(bool(0))

print(bool(None))
print(bool([]))<jupyter_output>True
True
False
False
False<jupyter_text>Function can return a Boolean<jupyter_code>a = 60
b = 13

print(a&b)
print(a|b)<jupyter_output>12
61<jupyter_text>Python Assignment Operators<jupyter_code>a+3
a+=3

print(a)<jupyter_output>63<jupyter_text>Logical Operators<jupyter_code>a = True
b = False

a and b
not(a or b)
a = True
b = False

print(a and b)
not(a or b)<jupyter_output>False<jupyter_text>Identity Operators<jupyter_code>a is b
a is not b<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1379746835443038, 'fraction_numerical': 0.03291139240506329, 'mean_word_length': 9.835616438356164, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 23, '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': '6', 'dir': 'jupyter-structured-clean-dedup', 'id': '153493', 'license': 'Apache-2.0', 'n_tokens_mistral': 379, 'n_tokens_neox': 361, 'n_words': 61, 'path': 'Operations_and_Expression.ipynb', 'repo_name': 'margarevalo/Numerical-Methods-58011', 'size': '790'}