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
Get step-by-step solutions from verified subject matter experts
