<jupyter_start><jupyter_text>Final Exam Problem Statement 1<jupyter_code>sum = 0
n = [-5,-4,-3,-2,-1,0,1,2,3,4]
for x in (n):
  sum += x
print(sum)<jupyter_output>-5<jupyter_text>Problem Statement 2<jupyter_code>n = [int(a) for a in input().split()] #Separate numbers with space
while len(n) != 5:
    print("Not Five numbers")
    n = [int(a) for a in input().split()]
else:
  print("Sum of First and Last Number= ", n[0]+n[-1])<jupyter_output><empty_output><jupyter_text>Problem Statement 3<jupyter_code>grade = int(input("Grade: "))
if grade >= 90 and grade <= 100:
  print("Grade: A")
elif grade >= 80 and grade <= 89:
  print("Grade: B")
elif grade >= 70 and grade <= 79:
  print("Grade: C")
elif grade >= 60 and grade <= 69:
  print("Grade: D")
else:
  print("Grade: F")<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.18238213399503722, 'fraction_numerical': 0.043424317617866005, 'mean_word_length': 5.113636363636363, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, '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': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '608030', 'license': 'Apache-2.0', 'n_tokens_mistral': 345, 'n_tokens_neox': 313, 'n_words': 84, 'path': 'Final_Exam.ipynb', 'repo_name': 'DirkTayab/CPEN-21A-CPE-1-1', 'size': '806'}