Describe algorithms in Python language