This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

printing the combination of all the letters  RSS feed

 
rachana ravali
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi can anybody help me with the program of printing all the combinations of letters in a word ...
 
Norm Radder
Rancher
Posts: 1733
22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you asking for help with your program
or for someone to write the program for you?
 
Rob Spoor
Sheriff
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search for the term "permutation".

One thing though - the number of combinations grows exponentially as you add more (unique) letters. For example, 6 unique characters already gives you 6! = 720 options, and by adding one different letter you already have 7 times as much: 5040.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!