title: AttributeError: "tuple" object has no attribute "split"
body: <p>im new to python and im having a bit of difficulty with a beginner question</p>
  <pre><code>Write a Python program which accepts a sequence of comma-separated numbers from user and generate a list and a tuple with those numbers
  </code></pre>
  <p>and this is the code i wrote</p>
  <pre><code>sea =  9 , 8 , 8 , 8
  
  list = sea.split(&quot;,&quot;)
  tuple = tuple(list)
  
  print (&quot;List: &quot; ,list)
  print (&quot;Tuple: &quot; ,tuple)
  </code></pre>
  <p>but its giving me an Attribute Error</p>
  <pre><code>AttributeError: 'tuple' object has no attribute 'split'
  </code></pre>
  <p>thats it hehe, thank you for taking time for reading this, please help me correct it :0</p>