Solve... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Solve...

Not getting my appended word in alphabetical order.. Help in getting... https://code.sololearn.com/ck8SkQLYi1aq/?ref=app

15th Jul 2020, 6:25 PM
Aditya Salabh
Aditya Salabh - avatar
7 Answers
+ 4
I got it... I'm doing silly mistake I'm giving the uppercase that's why it's not taking it.... 😅... Justus ... Otherwise thnku..
15th Jul 2020, 7:28 PM
Aditya Salabh
Aditya Salabh - avatar
+ 1
Use the sort() list=[lion,cat,dog,pig] list.sort()
15th Jul 2020, 7:16 PM
Justus
Justus - avatar
+ 1
I have to append zebra in this list and... Then... List=[lion,cat,dog,pig,zebra] appers And then when I'm using sort it's not alphabetically arranged... Thats the prob.... Justus
15th Jul 2020, 7:19 PM
Aditya Salabh
Aditya Salabh - avatar
15th Jul 2020, 7:24 PM
Justus
Justus - avatar
0
Make my appended word appear in alphabetical order when sort.... Work Is only in beginning...
15th Jul 2020, 6:39 PM
Aditya Salabh
Aditya Salabh - avatar
0
It looks like an interesting problem but as 𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 says, we need sample input and expected output to help debug.
15th Jul 2020, 7:00 PM
benjamin
0
Like... Enter like this Zebra 2 Lion cat dog pig A list have to be appeared in alphabetical order
15th Jul 2020, 7:08 PM
Aditya Salabh
Aditya Salabh - avatar