SyntaxFix
Write A Post
Hire A Developer
Questions
Because tuple(3, 4) is not the correct syntax to create a tuple. The correct syntax is -
tuple(3, 4)
tuple([3, 4])
or
(3, 4)
You can see it from here - https://docs.python.org/2/library/functions.html#tuple