It looks like it only accepts one character. It works if only one is input but if I input more than that I get an error saying it was expecting a character but instead got a string of 13...

Well, that was just a hint to help you start with. Don't expect spoon-fed solutions on-demand. Please give it a try and let us know what you could come up with. If you're not able to proceed, let us know where you're stuck and we could help you. (Another hint: use loops)

i have and understand the code to return the char position. I understand the boolean to handle "z". I know how to break up the words in string into characters and put them in a list. What is killing me is that my char_position function, will only accept one character at a time. I don't know how to send it one letter at a time.

when run, the following code ouputs the positional value of the character input + 1. This is what I want but if I input more than one character the program will only output the ordinal value of the last character in the string. I thought I was getting close but this bug is eluding me. Thank you both for the help. I have learned a something already. Any idea how to get it do output the ordinal value for each character in the input?

This runs but has bugs

Originally Posted by xrlrider08

when run, the following code ouputs the positional value of the character input + 1. This is what I want but if I input more than one character the program will only output the ordinal value of the last character in the string. I thought I was getting close but this bug is eluding me. Thank you both for the help. I have learned a something already. Any idea how to get it do output the ordinal value for each character in the input?