Python Function Multiple Input Amplifiers