I have 4 lists like
list1 = []
list2 = []
list3 = []
list4 = []
then i need get user input and merge two lists at run time and print them ..
I have tried like this
first = input('enter 1st list')
second = input('enter 2nd list ')
if (first == 1):
first = list1
elif(first ==2):
second = list2
....
....
but this is very long procedure and not appropriate for taking many inputs .
So please suggest me a better method..