<jupyter_start><jupyter_text>Hello Python Notebook We have done* Installed Python* Started Ipython Notebook Create some variables in Python<jupyter_code>i = 4
type(i)

f = 4.2
type(f)
b = True
type(b)
s = "This is a string"
print(s)<jupyter_output>This is a string<jupyter_text>Advance python types<jupyter_code>tabs = [1, 3, 2]
print(tabs)
d = {'foo': 1, 'bar': 'Hello bar'}
print(d['foo'])
n = None
type(n)<jupyter_output><empty_output><jupyter_text>Advanced printing<jupyter_code>print ("Our float value is %s, our int value is %s" % (f, s))<jupyter_output>Our float value is 4.2, our int value is This is a string<jupyter_text>Conditional Statement in Python<jupyter_code>if i == 1 and f > 4:
    print "The value of i is 1 and f is greater than 4."
elif i > 4 or f > 4:
    print "i and f are both greater than 4"
else:
    print 'i is not greater than 4 and not equal to 1. And f is not greater than 4'<jupyter_output>i and f are both greater than 4<jupyter_text>Conditional Loops<jupyter_code>l = [3, 1, 2]
print l
for element in l:
    print element
counter = -1
while counter < 10:
    print counter
    counter += 1
def add(x, y):
    return x + y

print add(2, 5)<jupyter_output>7
{'fraction_non_alphanumeric': 0.10747271200671704, 'fraction_numerical': 0.02518891687657431, 'mean_word_length': 4.442922374429224, 'pattern_counts': {'":': 0, '<': 18, '<?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': '5', 'dir': 'jupyter-structured-clean-dedup', 'id': '413947', 'license': 'MIT', 'n_tokens_mistral': 473, 'n_tokens_neox': 445, 'n_words': 167, 'path': 'foundations/intro/Hello Python.ipynb', 'repo_name': 'gongmingqm10/ML', 'size': '1191'}