<jupyter_start><jupyter_text>PROBLEM STATEMENT 1: Create a Python program that will produce an output of sum of 10 numbers less than 5using FOR LOOP statement. (30 points)<jupyter_code>num = [ 4, 3, 2, 1, 0, -1, -2, -3, -4, -5 ]
for x in num:
  sum = x + 0
print(sum)<jupyter_output>-5<jupyter_text>PROBLEM STATEMENT 2:Create a Python program that will produce accept five numbers and determine the sum offirst and last number among the five numbers entered using WHILE LOOP (35 points)<jupyter_code>list=[]
while len(list)<5:
  n=int(input("Number:"))
  list.append(n)
print(list)

sum=list[0]+list[-1]
print(sum)<jupyter_output>Number:1
Number:6
Number:3
Number:8
Number:2
[1, 6, 3, 8, 2]
3<jupyter_text>PROBLEM STATEMENT 3:Create a Python program to calculate student grades. It accepts a numerical grade as inputand it will display the character grade as output based on the given scale: (Use Nested-IF-Elsestatement) (35 points)<jupyter_code>range=["90 and above","80-89","70-79","60-69","Below 60"]
grade=["A","B","C","D","F"]

grade=int(input("Enter your grade "))

if grade>=90:
  print("A")
elif grade>=80:
  print("B")
elif grade>=70:
  print("C")
elif grade>=60:
  print("D")
else:
  print("F")<jupyter_output>Enter your grade 97
A
{'fraction_non_alphanumeric': 0.14170692431561996, 'fraction_numerical': 0.05152979066022544, 'mean_word_length': 5.647058823529412, 'pattern_counts': {'":': 0, '<': 11, '<?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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '204146', 'license': 'Apache-2.0', 'n_tokens_mistral': 497, 'n_tokens_neox': 450, 'n_words': 147, 'path': 'Final_Exam.ipynb', 'repo_name': 'AlliyahFrancineRoxas/CPEN-21A-CPE-1-2', 'size': '1242'}