<jupyter_start><jupyter_text>Question 1<jupyter_code>my_name = 'Neal'
print (my_name)<jupyter_output>Neal<jupyter_text>Question 2<jupyter_code>my_id =2021
print (my_id)<jupyter_output>2021<jupyter_text>Question 3<jupyter_code>my_id_str = "2021"
print (my_id_str)<jupyter_output>2021<jupyter_text>Question 4<jupyter_code>print (my_name + my_id)<jupyter_output><empty_output><jupyter_text>It doesn't work because string cannot be added to an integer  Question 5<jupyter_code>print ( my_name + my_id_str)<jupyter_output>Neal2021<jupyter_text>Question 6<jupyter_code>print ('hello, world. This is my first python string')
print ('hello, world. This is my first python string'.split('.'))<jupyter_output>hello, world. This is my first python string
['hello, world', ' This is my first python string']<jupyter_text>Question 7<jupyter_code>str_list = ['a','b','c','d','e']
str_list.sort()
print (str_list)<jupyter_output>['a', 'b', 'c', 'd', 'e']<jupyter_text>Can't sort the list because it is already in order Question 8<jupyter_code>str_list.append('f')
print (str_list)<jupyter_output>['a', 'b', 'c', 'd', 'e', 'f']<jupyter_text>Question 9<jupyter_code>str_list.remove('d')
print (str_list)<jupyter_output>['a', 'b', 'c', 'e', 'f']<jupyter_text>Question 10<jupyter_code>print (str_list[2])<jupyter_output>c<jupyter_text>Question  11<jupyter_code>num_list = ['12','32','43','35']
print (str_list + num_list)<jupyter_output>['a', 'b', 'c', 'e', 'f', '12', '32', '43', '35']<jupyter_text>No values associated with str_list, so it combines the two lists Question 12<jupyter_code>my_dict = {'name':'Larry','id':2021}
print(my_dict)<jupyter_output>{'name': 'Larry', 'id': 2021}<jupyter_text>Question 13<jupyter_code>my_dict['name']= 'Neal'
print (my_dict)<jupyter_output>{'name': 'Neal', 'id': 2021}<jupyter_text>Question 14<jupyter_code>print (my_dict['id'])<jupyter_output>2021<jupyter_text>Question 15<jupyter_code>my_dict['id']=1999
print (my_dict)<jupyter_output>{'name': 'Neal', 'id': 1999}<jupyter_text>Question 16<jupyter_code>my_dict['num_list']=num_list
print (my_dict)<jupyter_output>{'name': 'Neal', 'id': 1999, 'num_list': ['12', '32', '43', '35']}
{'fraction_non_alphanumeric': 0.18131101813110181, 'fraction_numerical': 0.044630404463040445, 'mean_word_length': 11.297142857142857, 'pattern_counts': {'":': 0, '<': 50, '<?xml version=': 0, '>': 50, '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': '16', 'dir': 'jupyter-structured-clean-dedup', 'id': '89425', 'license': 'MIT', 'n_tokens_mistral': 988, 'n_tokens_neox': 900, 'n_words': 156, 'path': 'Lab 2.ipynb', 'repo_name': 'NealStarrs/ia241REAL', 'size': '2151'}