Getting the Error

getting
“too many values to unpack’” error

hey @krishnaSonavane,
it happens when you are returning more values instead of the those you are using to save them.
like in the photo you shared.

x.split() might return more than two values or a single value,
but you are requesting two variables to be there.
hence you get this error.

do it like
f = x.split()
and then use f[0] and f[1]

it will work.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.