The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

Variation

Variation

0
Votes
1
Answer

Hello team,

I think below problem in the variation quiz has wrong answer.

Going back to the combination lock example from the lecture, imagine the correct code consisted of a single 4-letter word. However, this time the passcode only consists of the letters of “password”. How many possible passcodes are there?

4^8

incorrect8^4
7^4

4^7

I think Correct option is 8^4. The word ‘Password’ contains eight letters and correct code consisted of single 4-letters. thus it may be 8^4.

Correct me if I am wrong.

Link is :
https://365datascience.teachable.com/courses/probability/lectures/9302993

1 Answer

365 Team
0
Votes

Hey Adnan, 
 
Thanks for reaching out!
 
Even though the word “password” consists of 8 letters, it only consists of 7 unique letters (double “s”). Hence, if the code is “rows” it doesn’t matter which s we use since it’s the same letter. Hence, we only have 7 letters to work with. 
 
Best,
365 Vik