Question: Filename: assign 3 - 3 . py Write a Python program to read the user input n from the cmd . ( 1 ) Put

Filename: assign3-3.py
Write a Python program to read the user input n from the cmd.(1) Put all the numbers of 21,22,23,... etc until 2n into the first 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 first 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!