[GHALLENGE] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

[GHALLENGE]

hello guys the challenge of today is write a program read strings then it classify them i analphabetic order example input: car ,string,baby output: baby,car,string. use any language. remember ,programing is an art. good luck

19th Nov 2017, 12:41 PM
Coder++
Coder++ - avatar
4 Answers
+ 8
#python. #input:cat,book,car,apple print(*sorted(input().split(',')))
19th Nov 2017, 4:10 PM
Käzî Mrîdùl Høssäîn
Käzî Mrîdùl Høssäîn - avatar
19th Nov 2017, 1:12 PM
Tim Thuma
Tim Thuma - avatar
+ 6
@luka did you read the comments how to do the right input format? And I think @the legend master made a mistake there and wanted to write "baby, car, string"
19th Nov 2017, 1:29 PM
Tim Thuma
Tim Thuma - avatar
+ 4
sorry @ Tim Thuma I will fix it
19th Nov 2017, 2:08 PM
Coder++
Coder++ - avatar