Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python help needed. Use textblob and statistics library 1. Write a program that accepts user input for reviews. 2. The program should allow the user

Python help needed.
Use textblob and statistics library
image text in transcribed
1. Write a program that accepts user input for reviews. 2. The program should allow the user to input data for the star ratings 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. 7. 6. Compute the average, minimum, maximum, range, and standard deviation for both stars and the sentiment lists. 8. Create functions to calculate the minimum, maximum, range, and average (DO NOT USE THE STATISTICS LIBRARY). 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

JDBC Database Programming With J2ee

Authors: Art Taylor

1st Edition

0130453234, 978-0130453235

More Books

Students also viewed these Databases questions