Project Euler 22 - Names Scores

Official link:

Thought Process

We can use to quickly calculate the name sum.

  1. Use the python ord function to return the ASCII value of a character

  2. A starts at 65 so simply go through a name and add ord(character) - 64

Interactive Code

Input a Name (yourinput)

Code will output the name sum of yourinput