0
Program for sorting multiple list
Can u write a program which can take a lists(stack of names) like consider cricket teams ,if I would specify certain names as input it should go through all the lists of the cricket teams(stack of names) and should produce an output which should match the names which I had given certain names as input.
17 Respuestas
0
Can you specify the language please 😊
0
Which ever language u want to....!!
0
Do you want it for SoloLearn or without it?
Because you know how is the input in SoloLearn
0
Not for sololearn
0
OK KUMAR GOUTHAM K R I will make it but I need an example to make sure that I have understand the idea
0
Kk ...for example take 10 lists (which consists of names),then (user input) I would input some names in it ,it should go through the lists and compare it and produce a output saying that this is a list which u were searching for .
0
How much inputs
If it is unlimited how you want to terminate the input?
0
User input limit should be max 50,to set the limit to user choice use the length of the users input list minus one....
0
Ok
0
Is that good KUMAR GOUTHAM K R ?
0
It's good..man .really..but...the question was the program should consists of minimum 10 lists and then the user inputs a list ,then it should compare the list of the user with the program lists(min 10 lists)then if the user list matches the program lists then the output would say the given user list matched the program lists
0
Please I'm new here I need someone to fix me up thanks
0
Peace Samuel how can I help you?
0
KUMAR GOUTHAM K R private message me
I want to continue your project
0
Kumar Goutham which social media should I message u private, fb? WhatsApp? Email or
- 1
lista=[]
input_limit=0
while not(input_limit<50 and input_limit> 0):
input_limit=int(input("Enter the number of names : "))
print("\n\n")
for i in range(input_limit):
print("Name number ",i+1," :")
lista.append(str(input("\t")))
lista.sort()
print("\n\n")
for i in range(len(lista)):
print("Name Num ",i+1," : ",lista[i])