Why should we write test cases in Python

Python code executes the same way every time, isn't it enough to just run the program and see if the program works?