title: How to print output inside square bracket in python while using loop
body: <pre><code>from numpy import *
  
  c=array([1,7,3,4,5])
  
  for x in range(len(c)):
      print(c[x]+5, end=&quot;,&quot;)
  </code></pre>
  <p>I want to print it as array how to do it so? Now it is getting printed like this:</p>
  <p><code>6,12,8,9,10</code></p>