<jupyter_start><jupyter_text>python fundamentals  variables<jupyter_code>3 + 5 * 4<jupyter_output><empty_output><jupyter_text>valid variable names<jupyter_code>weight_kg = 60
weight_kg60 = 60
60weight_kg = 60<jupyter_output><empty_output><jupyter_text>types<jupyter_code>Weight = 60
who
weight_kg = 60.0
type(weight_kg)
weight_kg_text = 'weight in kilograms:'
type(weight_kg_text)
print(weight_kg)
print(weight_kg_text, weight_kg)
print('weight in pounds:', 2.2 * weight_kg)
print(weight_kg)
weight_kg = 65.0
print('weight in kilograms is now:', weight_kg)
weight_lb = 2.2 * weight_kg
print(weight_kg_text, weight_kg, 'and in pounds:', weight_lb)
weight_str = weight_kg_text + str(weight_kg)<jupyter_output><empty_output><jupyter_text>changing print behavior<jupyter_code>print(weight_kg_text, weight_kg, sep=' ')<jupyter_output>weight in kilograms: 65.0<jupyter_text>variables as sticky notes, part 2<jupyter_code>weight_kg = 100.0
print('weight in kilograms is now:', weight_kg, 'and weight in pounds is still:', weight_lb)
weight_kg = 100.31234
print(weight_kg)<jupyter_output>100.31234
{'fraction_non_alphanumeric': 0.11019283746556474, 'fraction_numerical': 0.04499540863177227, 'mean_word_length': 9.283018867924529, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '346138', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 458, 'n_tokens_neox': 411, 'n_words': 81, 'path': 'notebooks/00-python-fundamentals.ipynb', 'repo_name': 'Data-Science-for-Scientists-ATL/2019-11-23-SWC-Python-notebooks', 'size': '1089'}