title: How to remove whole strands?
body: <p>I have code that outputs only numbers, but it outputs them one at a time. Example. 222 is output as ['2.0', '2.0', '2.0'] also if the number is 2.32, output as ['2.0', '3.0', '2.0']. I need it to output them together, how do I do that? thanks for the help</p>
  <pre><code>x = input(&quot;text: &quot;)
  m = []
  
  for i in x:
      if i.isdigit():
          m.append(float(i))
  print(*m)
  </code></pre>