Question: Create a Python program that will do the following: Segregate the items in list data into two lists food and prices. Converts the prices to
Create a Python program that will do the following:
Segregate the items in list data into two lists food and prices.
Converts the prices to float then add them to list prices.
Calculate the total of the prices using a loop with enumerate method.
Print the the data as shown below
tabletablePrice
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
