title: how to solve TypeError: 'float' object is not iterable
body: <p>How can I transfer </p>
  
  <pre><code>A = [0.12075357905088335, -0.192198145631724, 0.9455373400335009, -0.6811922263715244, 0.7683786941009969, 0.033112227984689206, -0.3812622359989405] 
  </code></pre>
  
  <p>to </p>
  
  <pre><code>A = [[0.12075357905088335], [-0.192198145631724], [0.9455373400335009], [-0.6811922263715244], [0.7683786941009969], [0.033112227984689206], [-0.3812622359989405]]
  </code></pre>
  
  <p>I tried to the code below but an error occurred:</p>
  
  <pre><code>new = []
  for i in A:
      new.append.list(i)
  </code></pre>
  
  <blockquote>
    <p><code>TypeError: 'float' object is not iterable</code></p>
  </blockquote>
  
  <p>Could anyone help me?</p>