Understand the fundamental differences between softmax function and sigmoid function with the in details explanation and the implementation in Python.