Hello,
I'm having a little trouble learning some python and I'd appreciate a little direction. One of the exercises in my books says to create a string list
list = ["a","b","c","d"]
Convert each character in the list to it's ascii equivalent and then populate that information into a new list. Here's what I have so far:
new_list=[] # new, empty list for the populating
for i in list:
ord(i)
That's as far as I've gotten. I can get back each character as it's ascii but everything I'd tried to pop those ascii numbers into a new, corresponding list have failed.
Thoughts appreciate,
Jack