Ultra sonic sensor to led strip.

Hello, i am currently working on a project, in which a ultrasonic sensor, sends a signal to an led light strip to light up when it detects something in 5-10cm range. My main issue is how I can get it too send this signal,
I will be using a third party software to write the code in PYTHON but will be fine with c++

My main issue is how I can get it too send this signal

It seems unlikely that you will get the ultrasonic sensor to send a signal anywhere. That would be the microcontoller's job.

I will be using a third party software to write the code in PYTHON

The Arduino won't know what to do with PYTHON code, so you're wasting your time.