Question: In Python, Part 1 Part 2 Program to be written in Python. I need help calculating the sentiment for each review in Part 1. Also
In Python,
Part 1

Part 2

Program to be written in Python. I need help calculating the sentiment for each review in Part 1. Also I need help with Part 2, thank you!
Write a program that takes user input for a sequence of reviews for products. The program should ask the user of the product's Name, text review, and start rating (1-5) Using "for loops", "Functions", and "Lists" the program should store each of the above categories in a list. Use proper comments throughout your program and follow appropriate use of variables. The program should calculate the sentiment for each review. The program should use the statistics library to calculate and then display average, median, mode, standard deviation,minimum,and maximum sentiment and star rating. The printed results should be formatted and aligned. The program should display relevant message to the user (such as "Enter Name for product no. 1". The program should also control for invalid entries. The program should not allow for a review of more than 30 characters long and star ratings outside the 1-5 range. Please use comments throughout your code and evaluate user input to detect invalid entries
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
