Assume you run a clustering algorithm on a dataset that prod…

Assume you run a clustering algorithm on a dataset that produces a clusters with 4 observations. In the table below, you find the 4 observations and the corresponding attributes. Compute the centroid for this cluster. You can round numbers to 2 decimals.    Observations Feature 1 Feature 2 Feature 3 A 23 15 34 B 14 9 32 C 41 10 36 D 42 10 22

In 1970, the United States decided Griggs v Duke Power in wh…

In 1970, the United States decided Griggs v Duke Power in which the court said that employment tests or requirements must be necessary to do the job. In Duke Power’s case, they had a requirement that employees needed a high school diploma in order to be hired. The court found that this policy discriminated against job applicants even though the requirement may have appeared neutral. This type of discrimination is called__________.

# 1.Write a Python snippet that prompts the user to enter a…

# 1.Write a Python snippet that prompts the user to enter a greeting.# If the user enters “Hello”, output “Hi there!”.# if the user enters “Goodbye”, output “See you later!”.# For any other input, output “I don’t understand.”.# 2. Write a Python snippet that asks the user to choose between “Breakfast”, “Lunch”, or “Dinner”.#If the user enters an invalid choice, output “Invalid entry.” and do nothing else.#If the user enters a valid choice, ask them to enter a drink: “Coffee”, “Juice”, or “Water”.#If the drink is valid, output a response based on their meal and drink combination:#”Breakfast with Coffee is a great start!”#”Lunch with Juice is refreshing!”#”Dinner with Water is a healthy choice!”#If an invalid drink is entered, output “Invalid drink choice.”.#Sample Runs:# Valid Input:# Enter a meal: Lunch# Enter a drink: Juice# Lunch with Juice is refreshing!## Invalid Meal:# Enter a meal: Snack## Invalid entry.# Valid Meal but Invalid Drink:# Enter a meal: Dinner# Enter a drink: Soda# Invalid drink choice.# 3. Understanding Boolean Logic# For the following code, what is the correct output? Explain your reasoning.# condition = (50 < 40) or (75 == 75) and (200 > 300)# if condition == True:# print(“Success!”)# else:# print(“Failure!”)