NPTEL |The Joy of computing using Python | WEEK 11| Programming Assignment-2 String Sort

Published: 05 October 2019
on channel: Ultimate Gamer
3,167
10

Write a program that accepts a comma-separated sequence of words as input and prints the words in a comma-separated sequence after sorting them alphabetically.

Input Format:
The first line of input contains words separated by the comma.

Output Format:
Print the sorted words separated by the comma.

Example:

Input:
without,hello,bag,world

Output:
bag,hello,without,world


On this page of the site you can watch the video online NPTEL |The Joy of computing using Python | WEEK 11| Programming Assignment-2 String Sort with a duration of hours minute second in good quality, which was uploaded by the user Ultimate Gamer 05 October 2019, share the link with friends and acquaintances, this video has already been watched 3,167 times on youtube and it was liked by 10 viewers. Enjoy your viewing!