Before moving on to the final project, let's practice a few specific data manipulation skills:
* operator to generate a visual chart based on data.In this exercise, you will write a program to analyze customer reviews for a local cafe. Each review consists of a Taste score (1-5) and an Atmosphere score (1-5).
The program should continuously ask the user for a single line of input containing two numbers separated by a space. The first number is the Taste score, and the second is the Atmosphere score.
The program will keep asking for input until the user types in an empty line.
Once the user types an empty line, the program must calculate and print the following:
*) for the histogram.You may assume the user will always enter valid data (either an empty line, or two integers separated by a space).
split(). It returns a list of strings. Here is an example of splitting a full name:name_string = "Ada Lovelace"
parts = name_string.split(" ")
first_name = parts[0]
last_name = parts[1]
print(last_name)
# This will print:
# Lovelace
Note: Because split() returns strings, you will need to use int() on those individual pieces to turn them into numbers for your math.
:.1f format specifier. Here is an example of formatting a temperature reading:temperature = 36.789
print(f"The temperature is {temperature:.1f} degrees.")
# This will print:
# The temperature is 36.8 degrees.
dash_count = 5
print("Loading: " + "#" * dash_count)
# This will print:
# Loading: #####