# 1. New Grade Average# # A student has completed 4 quizzes…

# 1. New Grade Average# # A student has completed 4 quizzes with scores of 75, 88, 90, and 82. # The professor allows them to drop their lowest score and replace it with a new score.# # Write a Python program that:# # Assign each score to a variable.# Ask the student to enter a new score.# Drop the lowest score from the original 4 scores. Hint: Use the min() function.# Replace the lowest score with the new score.# Calculate and display the new average score.# # Sample Run:# # Please enter a new score: 95 # # Your new gradepoint average is 88.75 ##2. String Length and Character Selection# # Write a Python program that:# # Prompts the user to enter a sentence.# Calculates and displays the length of the sentence. Hint: Use the len() function.# Displays the first 3 letters of the sentence and the last 3 letters of the sentence.# # Sample Run:# # Please enter a sentence: Python is fun! # # The length of the sentence is 14 # The first 3 letters are: Pyt # The last 3 letters are: un! # #3. Total Item Cost with Discounts# # A bookstore offers a 10% discount if a customer buys 4 books.# Write a Python program that:# # Prompts the user to enter the price of 4 books (one at a time).# Calculates the total cost of the books.# Applies a 10% discount to the total cost.# Displays the total amount owed.# # Sample Run:# # Enter the price of the first book: 12.99 # Enter the price of the second book: 15.50 # Enter the price of the third book: 10.00 # Enter the price of the fourth book: 18.75 # You bought 4 books. # The total amount owed is $51.38