Python Function Define Input Bias