Taking time as user input in HHMM format
<p>I have a problem that i encounter in the raspberry pi terminal.</p>

<pre><code>&gt;&gt;&gt; alarm = input('Please input the time for the alarm in format HHMM: \n ')
&gt;&gt;&gt; print(alarm)
</code></pre>

<p>I type 0700, press enter, but it prints out 448 instead of 0700.
When I tried it in IDLE it put out 0700. Why won't it put out 0700 in the raspberry pi terminal? And how can I get the terminal to put 0700 out?</p>