Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started