Use which or type to find the binary path of a command.

➜  TEST type python3
python3 is /data/data/com.termux/files/usr/bin/python3
➜  TEST which python3
/data/data/com.termux/files/usr/bin/python3
➜  TEST