Need some help...

hyozan.ux3 at gmail.com hyozan.ux3 at gmail.com
Sun Oct 28 04:31:12 EDT 2007


I want to create a program that I type in a word.

for example...

chaos

each letter equals a number....

A=1
B=20

 and so on.

So Chaos would be

C=13 H=4 A=1 O=7 S=5

I want to then have those numbers
13+4+1+7+5 added together to be 30.

How can I do that?

Also, just curious, but, how could I then have the 3 and 0 added
together to be 3?

Please help me out.

Thank you.....




More information about the Python-list mailing list