<jupyter_start><jupyter_text>Boolean OperatorsBoleans represents two values: True and False<jupyter_code>print(10>9)
print(10==9)
print(10<9)
print(10!=9)
print(bool(True))
print(bool(False))
print(bool(1))
print(bool(0))
print(bool([]))
print(bool(None))
def myFunction():return True
print(myFunction())
#Boolean answe of a function
def myFunction():return True

if myFunction():
  print("Yes!")
else:
  print("No!")
a=6
b=7
print(a==b)
print(a!=a)<jupyter_output>False
False<jupyter_text>Python Operators<jupyter_code>print(10+5)
print(10-5)
print(10*5)
print(10/5)
print(10//5) #floor division
print(10//3) #floor division
print(10%3) #modulo
print(10**2) #concatenation
a = 60 #0011 1100, 0111 1000
b = 13
print(a&b)
print(a|b)
print(a<<1)
a+=2 #same as a = a+2, a=60, a=62
print(a)<jupyter_output>62<jupyter_text>Logical Operators<jupyter_code>a = True
b = False
print(a and b)
print(a or b)
a = 60
b = 13

(a>b) and (a<b)
(a>b) or (a<b)
not(a>b)<jupyter_output><empty_output><jupyter_text>Identity Operator<jupyter_code>print(a is b)
print(a is not b)<jupyter_output>False
True
{'fraction_non_alphanumeric': 0.17266851338873498, 'fraction_numerical': 0.06740535549399815, 'mean_word_length': 8.033333333333333, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 18, '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': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '254373', 'license': 'Apache-2.0', 'n_tokens_mistral': 520, 'n_tokens_neox': 476, 'n_words': 101, 'path': 'Expressions_and_Operations.ipynb', 'repo_name': 'alexis-anciado/CPEN-21A-CPE-1-1', 'size': '1083'}