Question: Im trying to run this Data function, I keep getting this error: TypeError: 'list' object is not callable. If someone can help me figure out
Im trying to run this Data function, I keep getting this error: TypeError: 'list' object is not callable. If someone can help me figure out what is the problem and what to change,
that would be helpful thanks
header ={}
def Data():
for heading inData[1:]:
splitting = heading.split(': ')
if len(splitting)>1 :
header = {splitting[0]:splitting[1] }
header.update(header)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
