User Array Input In Python Integer Function