0
User input a letter then print its corresponding value (assigned by the programmer)
expected output: enter strings: abcde (each letter have corresponding value) how can i do it?
6 Answers
+ 3
zenitsu check the following ,
https://code.sololearn.com/cb9X7cS2Ncmi/?ref=app
+ 1
What are inputs and output for this program?
+ 1
zenitsu if the value of each letter is assigned by the programmer , then there must be some dictionary like structure with letter and it's corresponding value or do we have to create one with random values for each letter?
+ 1
Abhay thankyouu!âșïž
0
Abhay
example input: ABCD
example output: 11,33,72,76
(the value of each letter is assigned by the programmer)
0
Abhay yees, how can i do that dictionary-like-structure?