C5 W3 A2: insert_audio_clip() - I checked again and again, but still can't pass

hello sir
please help me about the issue like pictures

{mentor edit: code removed}

Check out the While condition section. You must check if the new segment_time overlaps with one of the previous_segments.
IF you pass (segment_time) to the WHILE condition, it means the WHILE() will loop with ALL segment_time value

1 Like

“while segment_time…” is incorrect. That should use is_overlapping().

Also I edited your post to remove your code - that’s not allowed by the Honor Code.

1 Like

thank your suggestion!

thank you Sri , I solve it