How to get first char of string in python? : <p>I want to  enter a word from keyboard, put it in a string variable and return first and last letter from the word. But I don't know to to do this.</p>

<pre><code>input: "Hello"
output: "H", "o"
</code></pre>

<p>P.S: I want to put this 2 letters in a variable:</p>

<pre><code>print(first)
output:"H"
print(last)
output:"o"
</code></pre>

<p>Please give me a solution!</p>
