Problem with str.partition() and tuple unpacking [closed]

I am using partition in strings and am trying to use tuple unpacking on them but it’s returning the error expected 3 got 1. So here’s my code. Please explain where I went wrong.

for a,b,c in a.partition('c'):


You are using the same variable twice (a) and no need to use a loop just write a,b,c = String_name.partition('c').