TypeError : 'list' object is not callable solved in Python

preview_player
Показать описание
TypeError : 'list' object is not callable solved in Python
Рекомендации по теме
Комментарии
Автор

the error that i got in my case is:
TypeError Traceback (most recent call last)
in <module>
1 tup=(1, 2, 3, 4)
----> 2 tup=list(tup)
3 tup

TypeError: 'list' object is not callable

dakshvashishth
Автор

tup=(1, 2, 3, 4)
tup=list(tup)
tup
i tried doing this in jupyter ide but i got an error but when i executed the same code in idle my code successfully executed the way i wanted it to be can anyone help me solve this error?

dakshvashishth