<jupyter_start><jupyter_text>BOOLEAN OPERATORSBooleans represent one of two values. True or 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 answer 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>Phyton Operators<jupyter_code>print(10+5)
print(10-5)
print(10*5)
print(10/5)
print(10//5) #floor division
print(10/3) #quotient
print(10//3) #floor division
print(10%3) #modulo
print(10**2) #concatenation
a = 60 #0011 1100 , 0111 1000 , 1111 0000
b = 13
print(a&b)
print(a|b)
print(a<<1)
print(a>>1) #0011 1100 , 0001 1110
a+=2 #same as a = a +2, a = 60 + 2, a=62
print(a)<jupyter_output>62<jupyter_text>Logical Operators<jupyter_code>a = 60
b = 60


(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>True
False
{'fraction_non_alphanumeric': 0.17152961980548187, 'fraction_numerical': 0.09018567639257294, 'mean_word_length': 7.085714285714285, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 20, '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': '47672', 'license': 'Apache-2.0', 'n_tokens_mistral': 562, 'n_tokens_neox': 494, 'n_words': 110, 'path': 'Expression_and_Operation.ipynb', 'repo_name': 'khalinvidamo1-1/Demo1.ipynb', 'size': '1131'}