<jupyter_start><jupyter_text><jupyter_code>x=10
y=9

print(x>y)
print(9==10)
print(10==10)<jupyter_output>True
False
True<jupyter_text><jupyter_code>print(bool("Wayne"))
print(bool(18))
print(bool(None))
print(bool(1))<jupyter_output>True
True
False
True<jupyter_text>Defining Function<jupyter_code>def Pogi():
  return False

print(Pogi())

def myFunction():
  return True

if myFunction():
   print("Yes")
else:
   print("No")<jupyter_output>Yes<jupyter_text>Application 1<jupyter_code>print (10>9)

a=6
b=7
print(a==b)
print(a!=b)<jupyter_output>True
False
True<jupyter_text>Arithmetic Operations<jupyter_code>print(a+b)
print(a-b)
print(a*b)
print(a**b)<jupyter_output>13
-1
42
279936<jupyter_text>Bitwise Operators<jupyter_code>c = 60
d = 13

print(c&d)
print(c|d)
print(c<<1)
print(c<<2)<jupyter_output>12
61
120
240<jupyter_text>Assignment Operators<jupyter_code>c=60
d=13
c+=3
c%=3
print(c)
print(c)<jupyter_output>0
0<jupyter_text>Logical Operators<jupyter_code>c = True
d = False

not(c and d)<jupyter_output><empty_output><jupyter_text>Identity Operators<jupyter_code>c is d
c is not d<jupyter_output><empty_output><jupyter_text>Application 2<jupyter_code>e = 10
f = 5

# Implement the operations +, //, and bit shift right >> twice

print(e+f)
print(e//f)
print(e>>2)
print(f>>2)<jupyter_output>15
2
2
1
{'fraction_non_alphanumeric': 0.15285171102661596, 'fraction_numerical': 0.049429657794676805, 'mean_word_length': 9.28125, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 41, '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': '10', 'dir': 'jupyter-structured-clean-dedup', 'id': '496336', 'license': 'Apache-2.0', 'n_tokens_mistral': 650, 'n_tokens_neox': 610, 'n_words': 93, 'path': 'Operations_and_Expressions_in_Python.ipynb', 'repo_name': 'WarmXD/Elective-1-3', 'size': '1315'}