Replace 4^10 with 10^4

This commit is contained in:
abcx1989
2019-07-14 21:31:52 -07:00
committed by GitHub
parent bd3daab7fe
commit 3bb51fffa4

View File

@@ -41,7 +41,7 @@
"\n",
"* **Lock**: For our purposes a lock can be modeled as a `list` of 4 **tumblers**. \n",
"* **Tumbler:** Each tumbler has 10 distinct letters. I will represent a tumbler as a `str` of 10 letters.\n",
"* **Combination**: Choosing a letter from each tumbler gives a combination, such as \"FRED\" or \"BUNS\". There are 4<sup>10</sup> = 10,000 combinations.\n",
"* **Combination**: Choosing a letter from each tumbler gives a combination, such as \"FRED\" or \"BUNS\". There are 10<sup>4</sup> = 10,000 combinations.\n",
"* **Word**: Some combinations (such as \"BUNS\") are *words*; others (such as \"SOMN\") are not words. We'll need a collection of dictionary words.\n",
"\n",
"Now on to the code! First the imports I will need and the vocabulary concepts:"