Skip to content

A bunch of interesting problems implemented by me in different programming languages

Notifications You must be signed in to change notification settings

poojabhandari/Anagram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Anagram

anagram.py (Anagrams of a string sorted in alpahabetical order)
Language: Python
Description: a program in python to generate anagrams of a given input string and display it in alphabetically sorted order
Detail:a Python program which will take a string as the first parameter, and write an output file called anagram_out.txt which contains of all the anagrams (permutations) of the string, one per line, sorted alphabetically.
python anagram.py 'ron'
This program will output a file with the following 6 lines, in this order:
nor
nro
onr
orn
rno
ron

About

A bunch of interesting problems implemented by me in different programming languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages