<jupyter_start><jupyter_text><jupyter_code>#Print: It displays the typed-text when running the program.
print('Annyeong! Let us compute your semestral grade together!')

#Input: It also displays the the typed-text when running the program but the 
#       difference is, after the the typed-text there would be a rectangle box 
#       floating wherein the user can enter any text/ require text(numbers or words).
fname= input("\n \nFirst Name:")
lname= input("Last Name:")
course= input("Course:")

pgrade=input("\nInput your Prelim Grade:")
mgrade=input("Input your Midterm Grade:")
fgrade=input("Input your Final Grade:")


#Float: This variable is used to convert the inputted text by the user into
#        an integer.
pgrade= float (pgrade)
mgrade= float(mgrade)
fgrade= float(fgrade)


#Operations: There are three operations used: multiplication, addition, and 
#             division. Asterisk is a symbol for multiplication, plus sign for 
#             addition, and slash for division.
prelim= pgrade*0.30
midterm= mgrade*0.30
finals= fgrade*0.40

sem= prelim + midterm + finals
grade= sem/100


#Condition: From the name itself, the program follows a certain condition before
#           displaying the text. 
passing= 0.70
if (grade > passing):
  print('\nHello {} {} of {}. Your semstral grade is *drums*:{: .2%} \U0001F600\nKamsahamnida! See you next time <3' .format(fname, lname, course, grade))
elif(grade == passing):
  print('\nHello {} {} of {}. Your semstral grade is *drums*:{: .2%} \U0001F606\nKamsahamnida! See you next time <3' .format(fname, lname, course, grade))
else:
  print('\nHello {} {} of {}. Your semstral grade is *drums*:{: .2%} \U0001F62D\nKamsahamnida! See you next time <3' .format(fname, lname, course, grade))<jupyter_output>Annyeong! Let us compute your semestral grade together!

 
First Name:Jennie
Last Name:Kim
Course:BS ChE

Input your Prelim Grade:65
Input your Midterm Grade:70
Input your Final Grade:69

Hello <NAME> of BS ChE. Your semstral grade is *drums*: 68.10% 😭
Kamsahamnida! See you next time <3
{'fraction_non_alphanumeric': 0.11284046692607004, 'fraction_numerical': 0.02529182879377432, 'mean_word_length': 4.287917737789203, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 6, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '298412', 'license': 'Apache-2.0', 'n_tokens_mistral': 710, 'n_tokens_neox': 665, 'n_words': 254, 'path': 'Calculator_Valenzuela_Arriola.ipynb', 'repo_name': 'jooeeeiy/LinearAlgebra_2ndSem', 'size': '2060'}