Question: 5 . 6 ( Functions Returning Tuples ) Define a function rotate that receives three arguments and returns a tuple in which the first argument

5.6(Functions Returning Tuples) Define a function rotate that receives three arguments and returns a tuple in which the first argument is at index 1, the second argument is at index 2 and the third argument is at index 0. Define variables a, b and c containing 'Doug', 22 and 1984. Then call the function three times. For each call, unpack its result into a,b and c, then display their values.
 5.6(Functions Returning Tuples) Define a function rotate that receives three arguments

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!