<jupyter_start><jupyter_text>Python Identation<jupyter_code>if 5>2:
  print ("Yes")<jupyter_output>Yes<jupyter_text>Python comments<jupyter_code>#This is a comment
print ("Hello world")<jupyter_output>Hello world<jupyter_text>Python Variable<jupyter_code>x = "sally"
a = 0 
a,b,c=0,1,2
print (x)
print (a)
print (b)
print (c)
print (a,b,c)<jupyter_output>sally
0
1
2
0 1 2<jupyter_text>Casting<jupyter_code>d = 4
d - int (4)
print (d)<jupyter_output>4<jupyter_text>Type () Function<jupyter_code>d = 4
d - int(4)
print (type(d))<jupyter_output><class 'int'><jupyter_text>Double quotes and single quotes<jupyter_code>#y = "Ana"
#print(y)
y = 'anna'
Y = "Robert"
print(y)
print(Y)<jupyter_output>anna
Robert<jupyter_text>Multiple Variables with one value<jupyter_code>#x = "tony"
k=l=m="four"
print(k)
print(l)
print(m)
print(k,l,m)<jupyter_output>four
four
four
four four four<jupyter_text>Output Variable<jupyter_code>print('Python programming is enjoying')
h = "enjoying"
p = "Python programming is"
print("Python programmingi is" + h)
print(p+""+""+h)<jupyter_output>Python programming is enjoying
Python programmingi isenjoying
Python programming isenjoying<jupyter_text>Arithmetic Operations<jupyter_code>print(c+d) # c - 2, d = 4
print(d-c)
print(d*c)
print(int(d/c))
print (d%c)
print(3//2) # 1.50
print(d**c)<jupyter_output>6
2
8
2
0
1
16<jupyter_text>Assignment Operators<jupyter_code>q=10
q+=5 #same as q=q+5
print(q) #same as q=q+5, q 10+5+15<jupyter_output>15<jupyter_text>Boolean Logic<jupyter_code>s = 10
 print(s^2)
 print(s|2)<jupyter_output>8
10<jupyter_text>Comparison Operators<jupyter_code>print(s>q)
print(s==s)
print(q==q)<jupyter_output>False
True
True<jupyter_text>Logical Operators<jupyter_code>s>q and s==s #False 
s>q or s==s #True

print(s>q and s==s)
print(s>q or s==s)<jupyter_output>False
True<jupyter_text>Identity Operators<jupyter_code>s is q
print (s is not q)<jupyter_output>True<jupyter_text>Bitwise Operators Shift right<jupyter_code>u=2 #1010 in binary
print(u<<1) 

g=10
print(g<<1)<jupyter_output>4
20
{'fraction_non_alphanumeric': 0.14607843137254903, 'fraction_numerical': 0.030882352941176472, 'mean_word_length': 8.8125, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 53, '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': '15', 'dir': 'jupyter-structured-clean-dedup', 'id': '378935', 'license': 'Apache-2.0', 'n_tokens_mistral': 980, 'n_tokens_neox': 926, 'n_words': 172, 'path': 'Fundamentals_of_Python.ipynb', 'repo_name': 'Cally02/OOP---58002', 'size': '2040'}