How to convert our name into ASCII values as output
Type cast character to int it will give you ascii value for java
**char ch = 'N'; int n = (int)ch; System.out.println(n);**
Since it tagged in Python3, I will give you solution in Python 3.X
This will return ASCII value of character ‘a’ i.e integer 97. You can check more inbuilt functions from documentation. If you want to convert whole string, you can loop this function with characters of string.
Source: [link text]