Question: Write a Python program to take user input n . ( 1 ) Put all the numbers of 2 1 , 2 2 , 2

Write a Python program to take user input n.(1) Put all the numbers of 21,22,23,... etc until
2n into an old tuple. Print out the tuple as follows. (2) Then append another number 2n+1 into
this tuple. Print it out again. (3) insert 31,32,33,... etc. until 3n into the old tuple (1) to make
the following tuple. Print out the new tuple as follows.

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 Programming Questions!