Question: In this assignment, you will utilize basic Python syntax and data types to organize and present information about Rick's Brick & Cue ( RBC )
In this assignment, you will utilize basic Python syntax and data types to organize and present information about Rick's Brick & Cue RBC restaurant. You'll be working with strings, integers, lists, and dictionaries.
Data Provided
Here's a simplified dataset for RBCs Barbecue Items:
Barbecue Items:
Woodfired Smoked Ribs: $
Hickory Smoked Brisket: $
Tender Pulled Pork: $
Task : Strings and Numerics
Assign the names and prices of the Barbecue Items to individual string and numeric variables.
Print each item and its price using basic print statements.
Task : Lists
Create a list containing the names of the Barbecue Items.
Create a separate list containing the corresponding prices.
Print both lists using indexing.
Task : Dictionaries
Create a dictionary that pairs the names of the Barbecue Items with their corresponding prices.
Print the dictionary using basic print statements.
Access and print the price of "Hickory Smoked Brisket" from the dictionary.
Instructions
Write the code using basic Python syntax within a Jupyter Notebook.
Include comments to explain what each part of the code is doing.
Make sure your code is well documented with comments.
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
