<jupyter_start><jupyter_text>Final Exam Problem Statement 1<jupyter_code>data=[]
i=0
for i in range(1,11):
  while True:
    a=float(input("Input a Number: "))
    if a<5:
      print("")
      break
    else:
        print("Please input a number less than 5.")
    continue
  data.append(a)
  i+=1

i=0
sum=0
print("The values are", data)
for i in data:
  if i<5:
    sum=sum+i
print("Sum of numbers less than 5:", sum)<jupyter_output>Input a Number: 3

Input a Number: 5
Please input a number less than 5.
Input a Number: 2

Input a Number: 3

Input a Number: 1

Input a Number: 87
Please input a number less than 5.
Input a Number: 6
Please input a number less than 5.
Input a Number: 2

Input a Number: 3

Input a Number: 1

Input a Number: 2

Input a Number: 4

Input a Number: 3

The values are [3.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 4.0, 3.0]
Sum of numbers less than 5: 24.0<jupyter_text>Problem Statement 2<jupyter_code>num=1;
data={};
while(num <=5):
  i = str(num);
  data[num] = input("Enter Number:")
  print("Value for Number "+ i +" is "+ data[num])
  num+=1
  if(num==6):
    sum=float(data[1])+float(data[5])
print("The sum of the first and last number is: " + str(sum))<jupyter_output>Enter Number:3
Value for Number 1 is 3
Enter Number:5
Value for Number 2 is 5
Enter Number:2
Value for Number 3 is 2
Enter Number:3.5
Value for Number 4 is 3.5
Enter Number:4.1
Value for Number 5 is 4.1
The sum of the first and last number is: 7.1<jupyter_text>Problem Statement 3<jupyter_code>grade=int(input("Enter your grade:"))
if grade >=90: print("A")
else:
  if grade >=80: print("B")
  elif grade >=70: print("C")
  elif grade >=60: print("D")
  else: print("F")<jupyter_output>Enter your grade:65
D
{'fraction_non_alphanumeric': 0.1308411214953271, 'fraction_numerical': 0.053738317757009345, 'mean_word_length': 3.811797752808989, 'pattern_counts': {'":': 0, '<': 13, '<?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': '583580', 'license': 'Apache-2.0', 'n_tokens_mistral': 703, 'n_tokens_neox': 647, 'n_words': 246, 'path': 'Final_Exam.ipynb', 'repo_name': 'JohnAngeloDazo/CPEN-21A-ECE-2-1', 'size': '1712'}