Question: Write a Python script to perform the below: a) Create a tuple with the following items: 11,22,44,77,88,77,99 To find the first occurrence of item 77

 Write a Python script to perform the below: a) Create a

Write a Python script to perform the below: a) Create a tuple with the following items: 11,22,44,77,88,77,99 To find the first occurrence of item "77" in the tuple. b) Create a Setl with the iterns 10, 20, 30 40, 50 and Set2 with the iterns 40, 50, 60 To find the common elements of Set1 and Set2. c) Create a dictionary Dict with the following items: "Muscat":120, "Nizwa": 1200, "Salalah": 80 To remove the last key-value pair added from dictionary

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!