Week 1 Task 1 Number 1

The details of the task is seen in this post



Data wrangling with dictionary and list.
print("Answers to online task by Hampo, JohnPaul A.C.") print() print("Week 1 Answers - Task 2") print("Answer to last week's task No.1\ Hello Dear! Here is a little weekend task for us in python.\ Consider the data structure below:\ menu = {'meal_1': 'Spaghetti',\ 'meal_2': 'Fries',\ 'meal_3': 'Cheeseburger',\ 'meal_4': 'Lasagna',\ 'meal_5': 'Soup',\ 'meal_6': ['Pancakes', 'Ice-cream', 'Tiramisu']}\ 1] Create a new dictionary that contains the first five meals as keys and assign the following\ five values as prices (in dollars): 10, 5, 8, 12, 5. Start by Price_list = {}.\ 2] Create a JSON in which the values of the keys of menu dictionary have a dictionary\ showing the recipe for the values.)")

Please what the video or click here to read the on the answer

Comments

Popular posts from this blog

Nigerian Air Force DSSC 2018 - Information

Facebook Job - Secrets and Tips (Applicants)