diff options
author | mjfernez <mjfernez@gmail.com> | 2020-02-14 18:35:11 -0500 |
---|---|---|
committer | mjfernez <mjfernez@gmail.com> | 2020-02-14 18:35:11 -0500 |
commit | d21e516c4ec3ab5b85f52df9aa7daa7f020b5f7b (patch) | |
tree | 6938a6f4b40bd8ac07b84007df0ddf3232045208 /17-Number-Letter-Counts/wordnums.py | |
parent | c9d153b6dafc1018fd7fad08677cade7332e2df0 (diff) | |
download | Project_Euler_Solutions-d21e516c4ec3ab5b85f52df9aa7daa7f020b5f7b.tar.gz |
Finally figured out 17 in C
Diffstat (limited to '17-Number-Letter-Counts/wordnums.py')
-rw-r--r-- | 17-Number-Letter-Counts/wordnums.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/17-Number-Letter-Counts/wordnums.py b/17-Number-Letter-Counts/wordnums.py index 34b5705..168e1c4 100644 --- a/17-Number-Letter-Counts/wordnums.py +++ b/17-Number-Letter-Counts/wordnums.py @@ -1,10 +1,7 @@ -import PIL -import math - -ones = ["", "one", "two", "three", "four", +ones = ["","one", "two", "three", "four", "five", "six", "seven", "eight", "nine"] weirdos = ["thirteen", "twelve", "eleven", "ten"] -tens = ["", "teen", "twenty", "thirty", "forty", +tens = ["","teen", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"] nd = "AND" |