<jupyter_start><jupyter_text>Boolean Operators<jupyter_code>print(10>9)
print(10==9)
print(9>10)
print(bool("Hello"))
print(bool(15))
print(bool(True))
print(bool(False))
print(bool(None))
print(bool(0))
print(bool([]))
def myFunction():return True
print(myFunction())
def myFunction():return False
print(myFunction())

if myFunction():
  print ("Yes")
else:
  print("No")
a = 6
b = 7
print(a==b)
print(a!=a)
print(10+5)
print(10-5)
print(10*5)
print(10/5)   #division-quotient
print(10%3)   #modulo division
print (10//3) #floor division
print(10**2)  #concatenation
a = 60   #0011 1100 
b = 13   #0000 1101

print(a & b)
print(a | b)
print(a ^ b)
print(~a)
print(a << 2)
print(a >> 2)
print(b << 2)
print(b >> 2)
x = 6 
x+=3   #x=x+3
print(x)

x%=3   #x=6%3, remainder 0 modulo division
print(x)
a = True
b = False

print(a and b)
print(a or b)
print(not(a and b))   #negation
print(a is b)
print(a is not b)<jupyter_output>False
True
{'fraction_non_alphanumeric': 0.1891025641025641, 'fraction_numerical': 0.07051282051282051, 'mean_word_length': 5.417808219178082, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 10, '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': '279725', 'license': 'Apache-2.0', 'n_tokens_mistral': 450, 'n_tokens_neox': 409, 'n_words': 102, 'path': 'Untitled4.ipynb', 'repo_name': 'M4rkAdrian/CPEN21A-1-2', 'size': '936'}