<jupyter_start><jupyter_text>q1<jupyter_code>result = 1
for i in range (1,6):
    result=result*i
print (result)<jupyter_output>120<jupyter_text>q2<jupyter_code>result = 0
for i in range (1,6):
    result=result+i
print (result)<jupyter_output>15<jupyter_text>q3<jupyter_code>result = 1
for i in range (3,10):
    result=result*i
print (result)<jupyter_output>181440<jupyter_text>q4<jupyter_code>result = 1
for i in range (4,9):
    result=result*i
print (result)<jupyter_output>6720<jupyter_text>q5<jupyter_code>for i in range (6):
    if i==3:
        continue
    print(i)<jupyter_output>0
1
2
4
5<jupyter_text>q6<jupyter_code>result = 0
for word in 'this is my fourth string'.split():
#    print (word)
    result = result+1
print(result)<jupyter_output>5<jupyter_text>q7<jupyter_code>num_list = [12,32,43,35]
while num_list:
    num_list.remove(num_list[0])

print (num_list)<jupyter_output>[]<jupyter_text>q8<jupyter_code>my_str = 'this is my fourth string'.split()
result = 0
while (my_str):
#    print(my_str)
    result = result +1
    my_str.remove(my_str[0])
print (result)<jupyter_output>5<jupyter_text>q9<jupyter_code>my_dict = {"favorite_count":1138,
          "lang":"ch",
          "coordinates": (-75.14310264, 40.05701649),
          "entities":{
              "hashtags":[" preds ","Pens", " SingIntoSpring "]}}<jupyter_output><empty_output><jupyter_text>q9.1<jupyter_code>result = 0 
for tags in my_dict['entities']['hashtags']:
    result = result+1
print (result)<jupyter_output>3<jupyter_text>q9.2<jupyter_code>result = 0
print (my_dict['entities']['hashtags'])
while my_dict ['entities']['hashtags']:
    result = result+1
    my_dict['entities']['hashtags'].remove(my_dict['entities']['hashtags'][0])
print (result)<jupyter_output>[' preds ', 'Pens', ' SingIntoSpring ']
3<jupyter_text>q10<jupyter_code>num_list = [12,32,43,35]

max_item = num_list[0]

for current_item in num_list:
    if max_item< current_item:
        max_item = current_item
print (max_item)

min_item = num_list[1]

for current_item in num_list:
    if min_item> current_item:
        min_item = current_item
print (min_item)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14405204460966542, 'fraction_numerical': 0.04972118959107807, 'mean_word_length': 5.6656346749226, 'pattern_counts': {'":': 5, '<': 40, '<?xml version=': 0, '>': 40, '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': '12', 'dir': 'jupyter-structured-clean-dedup', 'id': '199609', 'license': 'MIT', 'n_tokens_mistral': 943, 'n_tokens_neox': 895, 'n_words': 147, 'path': 'Lab 04.ipynb', 'repo_name': 'carlsondorman/IA241', 'size': '2152'}