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.

5th May 2020, 3:30 AM
KUMAR GOUTHAM K R
KUMAR GOUTHAM K R - avatar
17 Antworten
0
Can you specify the language please 😊
5th May 2020, 3:50 AM
ycsvenom
ycsvenom - avatar
5th May 2020, 4:01 AM
KUMAR GOUTHAM K R
KUMAR GOUTHAM K R - avatar
0
Which ever language u want to....!!
5th May 2020, 4:02 AM
KUMAR GOUTHAM K R
KUMAR GOUTHAM K R - avatar
0
Do you want it for SoloLearn or without it? Because you know how is the input in SoloLearn
5th May 2020, 4:07 AM
ycsvenom
ycsvenom - avatar
0
Not for sololearn
5th May 2020, 4:15 AM
KUMAR GOUTHAM K R
KUMAR GOUTHAM K R - avatar
0
OK KUMAR GOUTHAM K R I will make it but I need an example to make sure that I have understand the idea
5th May 2020, 4:17 AM
ycsvenom
ycsvenom - avatar
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 .
5th May 2020, 4:26 AM
KUMAR GOUTHAM K R
KUMAR GOUTHAM K R - avatar
0
How much inputs If it is unlimited how you want to terminate the input?
5th May 2020, 5:36 AM
ycsvenom
ycsvenom - avatar
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....
5th May 2020, 5:43 AM
KUMAR GOUTHAM K R
KUMAR GOUTHAM K R - avatar
0
Ok
5th May 2020, 5:44 AM
ycsvenom
ycsvenom - avatar
0
Is that good KUMAR GOUTHAM K R ?
5th May 2020, 5:56 AM
ycsvenom
ycsvenom - avatar
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
5th May 2020, 6:32 AM
KUMAR GOUTHAM K R
KUMAR GOUTHAM K R - avatar
0
Please I'm new here I need someone to fix me up thanks
5th May 2020, 8:05 PM
Peace Samuel
Peace Samuel - avatar
0
Peace Samuel how can I help you?
6th May 2020, 1:59 AM
ycsvenom
ycsvenom - avatar
0
KUMAR GOUTHAM K R private message me I want to continue your project
6th May 2020, 2:01 AM
ycsvenom
ycsvenom - avatar
0
Kumar Goutham which social media should I message u private, fb? WhatsApp? Email or
12th May 2020, 6:13 AM
Peace Samuel
Peace Samuel - avatar
- 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])
5th May 2020, 5:56 AM
ycsvenom
ycsvenom - avatar