Question: Use Python to calculate how many different passwords can be formed with 6 lowercase letters in English. For a 1 letter password, there would be
Use Python to calculate how many different passwords can be formed with 6 lowercase letters in English. For a 1 letter password, there would be 26 possibilities. For a 2-letter password, each letter is independent of the other, so there would be 26 times 26 possibilities. With this information, print the number of possible passwords that can be formed with 6 letters.
Step by Step Solution
3.34 Rating (160 Votes )
There are 3 Steps involved in it
Case1 If each letter is independent of each other this means that a letter can be repeated In that ... View full answer
Get step-by-step solutions from verified subject matter experts
