title: Why does the for loop produce output vertically?
body: <p>I am new to python and writing simple for loops</p>
  
  <p>I am writing a program to remove the dashes from a telephone number input by the user.</p>
  
  <pre><code>phone =str(input("Enter a phone number")) #900-888-943
  for i in phone:
      print(i.strip("-"))
  </code></pre>
  
  <p>However, the ouput I am receiving is:</p>
  
  <pre><code>9
  
  0
  
  0
  
  8
  </code></pre>
  
  <blockquote>
    <p>The output i desire is Number without dashes is 900888943.</p>
  </blockquote>