A python code where all letters are assign to a particular number. And when u input a word it give u the sum up of the number. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

A python code where all letters are assign to a particular number. And when u input a word it give u the sum up of the number.

Can someone pls help me with this python code.

1st Mar 2020, 8:23 AM
BANKOLE SAMUEL
BANKOLE SAMUEL - avatar
2 Answers
+ 4
We will surely help you but first please show your attempt to us.
1st Mar 2020, 9:29 AM
Ketan [#Be Happy 😄]
Ketan [#Be Happy 😄] - avatar
- 1
input ("What's your name?") [A,J,S]=1,10,19 [B,K,T]=2,11,20 [C,L,U]=3,12,21 [D,M,V]=4,13,22 [E,N,W]=5,14,23 [F,O,X]=6,15,24 [G,P,Y]=7,16,25 [H,Q,Z]=8,17,26 [I,R]=9,18
1st Mar 2020, 9:36 AM
BANKOLE SAMUEL
BANKOLE SAMUEL - avatar