<jupyter_start><jupyter_text>**FINAL** **EXAM** Problem Statement 1<jupyter_code>num_list=(4,3,2,1,-1,-2,-3,-4,-5,-6)
x=sum(num_list)
print(x)<jupyter_output>-11<jupyter_text>Problem Statement 2<jupyter_code>x=1
empty_list=()
while x <=5:
  num = int(input("Enter a number:"))
  if x == 1:
    first_number = num
  if x == 5:
    last_number = num
  x +=1
sum = (first_number + last_number)
print("\n",sum)<jupyter_output>Enter a number:12
Enter a number:11
Enter a number:10
Enter a number:9
Enter a number:8

 20<jupyter_text>Problem Statement 3<jupyter_code>grade= float(input("Enter your Grade:"))
if grade >= 90:
  print("A")
else:
  if grade >=80 and num<=89:
    print("B")
  else:
    if grade >=70 and num<=79:
      print("C")
    else:
      if grade >=60 and num<=69:
        print("D")
      else:
        print("F")<jupyter_output>Enter your Grade:91.6
A
{'fraction_non_alphanumeric': 0.16589861751152074, 'fraction_numerical': 0.05414746543778802, 'mean_word_length': 4.1117647058823525, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, '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': '361995', 'license': 'Apache-2.0', 'n_tokens_mistral': 375, 'n_tokens_neox': 348, 'n_words': 83, 'path': 'Final_Exam.ipynb', 'repo_name': 'Gimarose/CPEN21A-BSCPE-1-2', 'size': '868'}