Question: Python help needed!! 1. Write a program that accepts user input for reviews. 2. The program should allow the user to input data for the
1. Write a program that accepts user input for reviews. 2. The program should allow the user to input data for the (star rating and freview tex 3. The program should accept star ratings between 1 and 10. 4. The program should accept review text that has a length between 1 and 30 characters. 5. The program should calculate the sentiment polarity for each review then add the sentiment polarity to a list. Program should also add the stars to a list. Compute the average, minimum, maximum, range, and standard deviation for both stars and the sentiment lists. Create functions to calculate the minimum, maximum, range, and average (DO NOT USE THE STATISTICS LIBRARY) 6. 7. 8. 9. You can use statistics library to calculate the standard deviation only. 10. Program should control for invalid input. 11. Use comments throughout your program. 12. Print the results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
