A python and php code Programs that calculate numeric value of a single name provided as input | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

A python and php code Programs that calculate numeric value of a single name provided as input

How to determine a person's character traits based on the "numeric value" of a name. The value of a name is determined by summing up the values of the letters of the name where 'a' is 1, "b' is 2, 'c is 3 etc., up to 'z' being 26. For example, the name "Zelle" would have the value 26+5+ 12+ 12+5= 60. Write a program that calculates the numeric value of a single name provided as input.

13th Aug 2021, 12:11 PM
klisco1
2 Answers
+ 1
What code have you written so far?
13th Aug 2021, 12:14 PM
Abhay
Abhay - avatar
+ 1
So… did you try it?
13th Aug 2021, 12:14 PM
John Doe