Question: Write a python program that reads 4 integer values from the user. We want to define two lists respectively comprising the first 2 values, and

Write a python program that reads 4 integer values from the user. We want to define two lists respectively comprising the first 2 values, and the last 2 values. Define two tuples containing each the above 2 lists. The first tuple will contain the first list as first element and the 2nd list as 2nd element. The second tuple will contain the second list as first element and the 1st list as 1st element. Make it so that any modification to the lists updates both tuples instantaneously.

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!