I received a mail from a netizen the day before yesterday and mentioned
If abcdefg ...... The 26 letters of XYZ correspond to the Arabic numerals 123456 ...... Then, we will draw a conclusion: What kind of life is happy (that is, satisfied)
A B C D E F G ...... X Y Z
1 2 3 4 5 6 7 ...... 26
Look at love luck work lover hard attitude.
Love = L + O + V + E = 12 + 15 + 22 + 5 = 54
Luck = L + u + C + k = 12 + 21 + 3 + 11 = 47 Goodluck = G + O + D + L + u + C + k = 7 + 15 + 15 + 4 + 12 + 21 + 3 + 11 = 88
Hardwork = H + A + R + D + W + O + R + k = 8 + 1 + 18 + 4 + 23 + 15 + 18 + 11 = 98
Lover = L + O + V + E + R = 12 + 15 + 22 + 5 + 18 = 72
Lover> love
Attitude = A + T + I + T + u + D + E = 1 + 20 + 20 + 9 + 20 + 21 + 4 + 5 = 100
Attitude scored 100 points. attitude,
In fact, satisfaction is determined by a person's attitude. The satisfaction of all people's life is determined by how a person views all things in the world.
After reading it, I was dizzy, wondering who was so boring to convert that score from so many English words. Later, I thought about how to use a simpleProgramSo I wrote a small program in JavaScript. This program may not be of any use at all. In fact, at that time, I was also bored to write such a boring little program ......
below are all the web pages Code : Check the running effect. in
A Article paste it to the following, click a blank area on the following page, the "scores" of the English words are calculated.
B c d e f g h I j k l m n o p q r s t u v w x y z
running effect in