getting the ascii code of a sentence
<p>I am trying to make a code that will give me the ascii code of a sentence, right now i can only give one letter</p>

<p>for example</p>

<pre><code>a = input("c")

b = ord(a)

print (b)
</code></pre>

<p>it prints 99, my goal is to type abc with the outcome of 97 98 99</p>

<p>Loop through <code>a</code>:</p>

<pre><code>print([ord(c) for c in a])
</code></pre>

python ascii