Question: please write in python Q1 5 Points: Modify the program that removes outliers The following is the description of a problem presented in class and

please write in python Q1 5 Points: Modify the program that removesplease write in python

Q1 5 Points: Modify the program that removes outliers The following is the description of a problem presented in class and the corresponding Python script that was implemented to solve it You are now asked to modify this script to implement the function that creates a new copy of the input data with the following two conditions: - The outliers should be replaced by None instead of being removed - All the data points should remain in their original locations. For example, in the test case shown with the script above, the output should be given as: None, 4, None, 2,5,8,3, None, None Q2: 5 points Program that reads word strings and creates a list of unique inputs In this question, you are asked to create a program that reads words from the user until the user enters a blank line. After the user enters a blank line your program should display each word entered by the user exactly once. Your search for the unique words should not be case-sensitive. E.g., 'first', 'FIRST', 'First', etc should all be considered a single word. The words should be displayed in the same order that they were entered. - For example, if the user enters: first SECOND First third second third - then your program should display: first second third

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!