Python Function Multiple Input Monitors