todo program in python