The truth value of an array with more than one element is ambiguous

When using dis = sorted(dis)

Send us the whole code

Hey Dhruv, as you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.