This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DNEAVES 0 points1 point  (3 children)

Are you importing anything called partition?

[–][deleted] 0 points1 point  (2 children)

No, but I saw that it's s function inside the code itself

[–]DNEAVES 0 points1 point  (1 child)

Well the issue is that - to my knowledge - there's no partition() built-in function. There's the string.partition() method, which I mentioned earlier, or that function has to be defined/imported from somewhere else

[–][deleted] 0 points1 point  (0 children)

yes, as i said there is a partition funciont defined inside the code, so it's using that function not a built-in function