title: Converting an int into a python List
body: <p>How do I convert an int into a list of its digits for eg.</p>
  
  <blockquote>
    <p>a = 1234</p>
  </blockquote>
  
  <p>I have to use it as </p>
  
  <blockquote>
    <p>[1,2,3,4]</p>
  </blockquote>
  
  <p>I have tried using</p>
  
  <blockquote>
    <p>list(a)</p>
  </blockquote>
  
  <p>But it shows an error.Anything else that I could use</p>