tuple object is not callable

0 votes
hello everyone

i coded a tuple function code in python but it gives me an error that's is 'tuple' object is not callable

why does the python coding consider an

object as not callable
Aug 11, 2020 in Python by anonymous
• 120 points

Hey, @There,

could you please post your code snippet here? It will be helpful to resolve your error query.

1 answer to this question.

0 votes
Hey, @There,

This kind of error happens once there is a comma missing in your tuple. Insert the comma between the tuples.

Or else it would be better if you just post your code here with what you are working on.
answered Aug 13, 2020 by Rajiv
• 8,890 points

Related Questions In Python

0 votes
1 answer

print(instance(0).id) TypeError: 'list' object is not callable

Hey @Suraj, For me its working fine. ...READ MORE

answered Jan 18, 2019 in Python by Priyaj
• 58,140 points
0 votes
1 answer

Python TypeError: 'list' object is not callable.

The error says the list is not ...READ MORE

answered Feb 8, 2019 in Python by Omkar
• 69,150 points
0 votes
1 answer

i am normalizing the data set iris in python and get the error ::TypeError: 'numpy.float64' object is not callable

TRY THIS   #Nomalisation for i in names:     print(i)   ...READ MORE

answered Aug 19, 2019 in Python by Noel Deepak Palle
0 votes
1 answer

Python error "'Series' object is not callable "

Try this: df['ln_returns'] = np.log(df['Close_mid']/df['Close_mid']) df['Close_mid'](1)) doesn't seem to ...READ MORE

answered Jul 22, 2019 in Python by Greg
0 votes
1 answer

How to add python console in spyder

(Spyder developer here) The Python console was ...READ MORE

answered Sep 18, 2018 in Python by Priyaj
• 58,140 points
0 votes
2 answers
0 votes
1 answer

Changing variable name in Spyder

Right now there is no particular solution ...READ MORE

answered Apr 24, 2019 in Python by SDeb
• 13,290 points
+6 votes
8 answers

What exactly is the function of random.seed() in python?

The seed method is used to initialize the ...READ MORE

answered Oct 29, 2018 in Python by Rahul
0 votes
5 answers