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