Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Task 1 - Create a set of numbers between 1 0 and 2 0 - Create another set of numbers between 5 and 1 5
Task
Create a set of numbers between and
Create another set of numbers between and
Output to screen the difference of the two sets
Output to screen the common numbers of the two sets
Iterate through each value of sets one and two
Task
Create one list with unique string values
Create another list with unique integer values
Create a set that contains the values of the lists create above
Add any value to the SET created.
Remove any string value of the set created
Create a new set that takes any values of the first set hint: conversion & slicing or iteration & adding
Output the values that are not in both sets a method exists
Using for loop, output all the values of both sets
Task
Create a dictionary of keyvalue pairs
GET the value of one of the keys
Remove one of the keys
Output the dictionary using a loop in the format of key value
Task
Create one list with unique string values
Create another list with unique double values
Create a dictionary where the keys are the string values and the values are the double values
Task
You are a store own
Create a dictionary of your inventory
The inventory should have categories
Each category should have items
You need to select a vendor
Create a dictionary of the vendor's inventory
The inventory should have categories
Each category should have items
Output the items that YOU have but the VENDOR does not have
Output the items that BOTH YOU and the VENDOR have
Ask the user for an item
Determine if the item is in STOCK you have it
Determine if vendor carries the item vendor has it
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started