# Q1. Write a Python code snippet that prints your name and…

# Q1. Write a Python code snippet that prints your name and your major.  # Each piece of information should be on a separate line.   # Q2. A ferry has a maximum capacity of 200 tons. Assume there are 8 vehicles onboard, each weighing 20 tons.   # Write a Python snippet to calculate the remaining weight capacity of the ferry.   # Output should be in this format:   # “The ferry can still hold ___ tons.”   # Q3. Write a Python code snippet to output an email to an LA asking for help on an assignment.   # Include a salutation, three sentences in the body, and a polite closing.   # Example:   # Hi ,   #    # I hope this email finds you well. I am having trouble understanding the concept of input statements in Python. Would you be able to meet after class to go over it with me?   #    # Thank you,   #   # Q4. Consider the ferry in Problem 2. Assume it has only 50 tons of remaining capacity.   # Using comments, write an algorithm to check whether a new vehicle weighing a given number of tons can board the ferry.   # Use clear steps in your comments to outline the process.

# Q1. Write a function get_scores() that prompts the user to…

# Q1. Write a function get_scores() that prompts the user to enter 7 quiz scores and stores them in a list.# Remove the lowest score, calculate the average of the remaining 6 scores, and print the average.# Print a message showing the average after the lowest score is dropped.# The function should not return a value. Call the function from main(). # Q2. Write a Python script with the following functions:## get_title()#   Takes no parameters and prompts the user for a graph title.# Returns the title as a string.# get_list()#   Takes no parameters.# Prompts the user to enter integers between 1 and 10 inclusive.# The user may enter as many numbers as desired.# The user enters ‘done’ to finish entering numbers.# Any value that is not an integer from 1 to 10 should be rejected and an error message displayed.# Returns a list containing all valid user-entered integers.# print_graph(title, nums)#   Takes a string title and a list of integers.# Prints the title.# Prints a histogram where each integer is displayed on a separate line using that many stars.# Stars should be separated by spaces.# Example:# 3 -> * * *# 7 -> * * * * * * *”””Below is what your main() should look like:def main(): # Test Q1 get_scores() # Test Q2 title = get_title() movies = get_list() print_graph(title, movies)Example output:Enter the title for the graph: Movie RatingsEnter integers between 1 and 10 for the graph. Type ‘done’ when finished.Enter a number (or ‘done’ to finish): 3 Enter a number (or ‘done’ to finish): 7 Enter a number (or ‘done’ to finish): 10Enter a number (or ‘done’ to finish): 2 Enter a number (or ‘done’ to finish): 12 Invalid number. Please enter a number between 1 and 10. Enter a number (or ‘done’ to finish): 5 Enter a number (or ‘done’ to finish): doneMovie Ratings* * * * * * * * * ** * * * * * * * * ** ** * * * *”””