Q:

How to convert a string array to its ASCII equivalent? 

I'm a couple of weeks in too my GSCE Computer Science Coursework and lots of people have been stuck on how to convert a string array to its ASCII equivalent. 
I am using this code:
c = input("Enter a character: ")
print ("The ASCII vlaue of '" +c+ "' is ",ord(c))

but it doesn't work for the an entire string. 
So what I'm asking is how do you convert a string array to its equivalent ASCII code? 

A:

I guess a search would find you your answer, I strongly advice to do so first. 
You would use something like this:
r = [ord(c) for c in s]

and you can (course)work from there
HTH,
Edwin.