Take the path on the media of a specific usb port

Hi everybody
Is it possible through bash or python to check for the presence of a usb and then take the path on the media of a specific usb port of the raspberry?
For example, I would need to know the path of port number 3
Thanks in advance.