Question
Python help! Thank you so much. Needs to be python. Numerology considers the special relationship between a number and one or more coinciding events. It
Python help! Thank you so much. Needs to be python.
Numerology considers the special relationship between a number and one or more coinciding events. It has been used throughout human history as a way to attach meaning to a name, object, or event using mathematics. Numerology is considered a pseudoscience since it has no basis in observable phenomena. Nevertheless, it makes for an interesting programming challenge!
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
A | 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 |
Your program should start by asking the user to type in their name and convert all the letters to uppercase. In the preceding table, each letter of the alphabet has a corresponding number. Using this table, add up the total of all the number values in the persons name to arrive at a single whole number. If a user enters spaces or extra punctuation, you can ignore these characters. For example, for the name Guido: G = 7 U = 3 I = 9 D = 4 O = 6 7 + 3 + 9 + 4 + 6 = 29
Once you have the sum, the number must be reduced so that it is 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, or 22. In numerology, numbers are reduced by adding together their individual digits. For example, 29 reduced is 2 + 9, or, 11. Using this technique, continue to reduce the total until it is a number between 1 and 9, 11, or 22.Hint: You will need to convert the total to a string to iterate over it and convert its digits back to integers before you add them.
Having arrived at the numerology for the name entered, we can now provide the user with personality associations for their particular number. Print out the corresponding text based on the following table.
Number | Personality Associations |
1 | initiating action, pioneering, leading, independent, attaining, individual |
2 | cooperation, adaptability, consideration of others, partnering, mediating |
3 | expression, verbalization, socialization, the arts, the joy of living |
4 | a foundation, order, service, struggle against limits, steady growth |
5 | expansiveness, visionary, adventure, the constructive use of freedom |
6 | responsibility, protection, nurturing, community, balance, sympathy |
7 | analysis, understanding, knowledge, awareness, studious, meditating |
8 | practical endeavors, status oriented, power seeking, material goals |
9 | humanitarian, giving nature, selflessness, obligations, creative expression |
11 | higher spiritual plane, intuitive, illumination, idealist, a dreamer |
22 | the Master Builder, large endeavors, powerful force, leadership |
Your final program should work like this.
Enter your name: Guido Your personality number is: 11 Your personality associations are: higher spiritual plane, intuitive, illumination, idealist, a dreamer
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started