Q. Write a program that input two tuple and create a third that contain all elements of the first followed of the second.
Answer
=
a = eval(input ("Enter the First tuple :- ")) b = eval ( input ("enter the Second tuple :- ")) c = a+b print (c)
Output :-
Enter Frist tuple :-(1,3,5,7,9)Enter second tuple :-(0,2,4,6,8)
(1, 3, 5, 7, 9, 0, 2, 4, 6, 8)
>>>
Output
ReplyDeleteOk : )
DeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )