<jupyter_start><jupyter_text>PROBLEM STATEMENT 1.<jupyter_code>lst = []
num = 0
for num in range (0,10):
  temp=int(input("Enter a number:"))
  lst.append(temp)

num = 0
summation = 0
print(lst)
for num in lst:
  if num<5:
    summation = summation+num
print("The sum of numbers that are less than 5 is:",summation)<jupyter_output>Enter a number:4
Enter a number:3
Enter a number:2
Enter a number:1
Enter a number:2
Enter a number:3
Enter a number:4
Enter a number:1
Enter a number:4
Enter a number:3
[4, 3, 2, 1, 2, 3, 4, 1, 4, 3]
The sum of numbers that are less than 5 is: 27<jupyter_text>PROBLEM STATEMENT 2.<jupyter_code>num = 1;
data = {};
last = 5;
first = 1;
while(num <=last):
  c = str(num);
  data[num] = input("Enter a number:")
  print("The value for number "+c+" is "+data[num])
  num+=1
sum= int(data[first]) + int(data[last])
print("The sum of the first and last number is:" + str(sum))<jupyter_output>Enter a number:12
The value for number 1 is 12
Enter a number:13
The value for number 2 is 13
Enter a number:14
The value for number 3 is 14
Enter a number:15
The value for number 4 is 15
Enter a number:16
The value for number 5 is 16
The sum of the first and last number is:28<jupyter_text>PROBLEM STATEMENT 3.<jupyter_code>Grade = float(input("Enter your grade:"))
if 90<=Grade<=100:
  print("A")
elif 80<=Grade<=89:
  print("B")
elif 70<=Grade<=79:
   print("C")
elif 60<=Grade<=69:
  print("D")
elif 0<=Grade<60:
  print("F")
else:
  print("Input character is incorrect")<jupyter_output>Enter your grade:87
B
{'fraction_non_alphanumeric': 0.13137254901960785, 'fraction_numerical': 0.056862745098039215, 'mean_word_length': 4.843511450381679, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 10, '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': '34019', 'license': 'Apache-2.0', 'n_tokens_mistral': 646, 'n_tokens_neox': 571, 'n_words': 210, 'path': 'Final_Exam.ipynb', 'repo_name': 'Keithleene/CPEN-21A-ECE-2-1', 'size': '1530'}