Question: The program should be in Python language. 4. (10 Points) Whats wrong with this following code? The code should read an integer into the variable
The program should be in Python language.
4. (10 Points) Whats wrong with this following code? The code should read an integer into the
variable rating. Explain whats wrong with the code (5 points), and write the correct code (5 points).
rating = input('Enter an integer rating between 1 and 10').
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
